Additional top-level classes in compilation unit: BiGuardian, MultiGuardian.
Deprecated
superseded by Suspendable.
| Modifier and Type | Field and Description |
|---|---|
| public static final Guardian |
| Modifier and Type | Method and Description |
|---|---|
| public static Guardian | |
| public Guard | |
| public default void | |
| public default <T> T |
| EMPTY | back to summary |
|---|---|
| public static final Guardian EMPTY
References Deprecated
See corresponding docs for further information. | |
| combine | back to summary |
|---|---|
| public static Guardian combine(Guardian... guardians)
References Deprecated
See corresponding docs for further information. Returns a guardian that combines all of the given guardians into one. Guards will be obtained in the specified order and released in reversed order. | |
| guard | back to summary |
|---|---|
| public Guard guard() | |
| guardWhile | back to summary |
|---|---|
| public default void guardWhile(Runnable r) | |
| guardWhile | back to summary |
|---|---|
| public default <T> T guardWhile(Supplier<T> f) | |