Package reactor.core.publisher
Enum SignalType
- All Implemented Interfaces:
Serializable,Comparable<SignalType>,Constable
Reactive Stream signal types
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA signal when an operator completesA signal when the subscription is cancelledA context read signalA signal when an operator completesA context update signalA signal when an operator receives an errorA signal when an operator receives an emitted valueA signal when an operator receives a subscriptionA signal when a request is made through the subscriptionA signal when the subscription is triggered -
Method Summary
Modifier and TypeMethodDescriptiontoString()static SignalTypeReturns the enum constant of this type with the specified name.static SignalType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUBSCRIBE
A signal when the subscription is triggered -
REQUEST
A signal when a request is made through the subscription -
CANCEL
A signal when the subscription is cancelled -
ON_SUBSCRIBE
A signal when an operator receives a subscription -
ON_NEXT
A signal when an operator receives an emitted value -
ON_ERROR
A signal when an operator receives an error -
ON_COMPLETE
A signal when an operator completes -
AFTER_TERMINATE
A signal when an operator completes -
CURRENT_CONTEXT
A context read signal -
ON_CONTEXT
A context update signal
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<SignalType>
-