public abstract class StreamSubscriptionTimeoutTerminationMode
extends java.lang.Object
prefixAndTail
.Modifier and Type | Class and Description |
---|---|
static class |
StreamSubscriptionTimeoutTerminationMode.CancelTermination$ |
static class |
StreamSubscriptionTimeoutTerminationMode.NoopTermination$ |
static class |
StreamSubscriptionTimeoutTerminationMode.WarnTermination$ |
Constructor and Description |
---|
StreamSubscriptionTimeoutTerminationMode() |
Modifier and Type | Method and Description |
---|---|
static StreamSubscriptionTimeoutTerminationMode |
cancel()
When the timeout expires attach a Subscriber that will immediately cancel its subscription.
|
static StreamSubscriptionTimeoutTerminationMode |
noop()
Do not do anything when timeout expires.
|
static StreamSubscriptionTimeoutTerminationMode |
warn()
Log a warning when the timeout expires.
|
public StreamSubscriptionTimeoutTerminationMode()
public static StreamSubscriptionTimeoutTerminationMode noop()
public static StreamSubscriptionTimeoutTerminationMode warn()
public static StreamSubscriptionTimeoutTerminationMode cancel()