public interface KillSwitch
KillSwitch
allows completion of Graph
s from the outside by completing Graph
s of FlowShape
linked
to the switch. Depending on whether the KillSwitch
is a UniqueKillSwitch
or a SharedKillSwitch
one or
multiple streams might be linked with the switch. For details see the documentation of the concrete subclasses of
this interface.Modifier and Type | Method and Description |
---|---|
void |
abort(java.lang.Throwable ex)
|
void |
shutdown()
|