Top Description Fields Methods
org.reactfx

public Interface Guardian

Additional top-level classes in compilation unit: BiGuardian, MultiGuardian.

Known Direct Subinterfaces
org.reactfx.inhibeans.Observable
Known Direct Implementers
org.reactfx.BiGuardian, org.reactfx.MultiGuardian, org.reactfx.Indicator
Annotations
@Deprecated
@FunctionalInterface
Imports
java.util.Arrays, java.util.function.Supplier

Deprecated

superseded by Suspendable.

Interface for objects usable to guard execution (in some sense).

Field Summary

Modifier and TypeField and Description
public static final Guardian
EMPTY

References Deprecated Guardian is deprecated or references (maybe indirectly) at least one deprecated element.

Method Summary

Modifier and TypeMethod and Description
public static Guardian
combine(Guardian... guardians)
References Deprecated Guardian is deprecated or references (maybe indirectly) at least one deprecated element.

Returns a guardian that combines all of the given guardians into one.

public Guard
public default void
public default <T> T

Field Detail

EMPTYback to summary
public static final Guardian EMPTY

References Deprecated

Guardian is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Method Detail

combineback to summary
public static Guardian combine(Guardian... guardians)

References Deprecated

Guardian is deprecated or references (maybe indirectly) at least one deprecated element.

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.

guardback to summary
public Guard guard()
guardWhileback to summary
public default void guardWhile(Runnable r)
guardWhileback to summary
public default <T> T guardWhile(Supplier<T> f)