public interface InterruptProtection
| Modifier and Type | Interface and Description |
|---|---|
static interface |
InterruptProtection.SQLCallable<T> |
static interface |
InterruptProtection.SQLRunnable |
| Modifier and Type | Method and Description |
|---|---|
static InterruptProtection |
none() |
<T> T |
protect(InterruptProtection.SQLCallable<T> callable) |
default void |
protect(InterruptProtection.SQLRunnable runnable) |
static InterruptProtection none()
default void protect(InterruptProtection.SQLRunnable runnable) throws SQLException
SQLException<T> T protect(InterruptProtection.SQLCallable<T> callable) throws SQLException
SQLExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.