Package akka.stream
Interface KillSwitch
-
- All Known Implementing Classes:
SharedKillSwitch
,UniqueKillSwitch
public interface KillSwitch
AKillSwitch
allows completion ofGraph
s from the outside by completingGraph
s ofFlowShape
linked to the switch. Depending on whether theKillSwitch
is aUniqueKillSwitch
or aSharedKillSwitch
one or multiple streams might be linked with the switch. For details see the documentation of the concrete subclasses of this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
abort(java.lang.Throwable ex)
void
shutdown()
-