Enum StreamingActor.Control
- java.lang.Object
-
- java.lang.Enum<StreamingActor.Control>
-
- org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor.Control
-
- All Implemented Interfaces:
Serializable,Comparable<StreamingActor.Control>
- Enclosing class:
- StreamingActor
public static enum StreamingActor.Control extends Enum<StreamingActor.Control>
Control messages to send in the same actor system.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RETRIEVE_WEBSOCKET_CONFIGRequest the current WebSocket config.SCRAPE_STREAM_COUNTERTell streaming actor to set the stream counter to its current number of child actors.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StreamingActor.ControlvalueOf(String name)Returns the enum constant of this type with the specified name.static StreamingActor.Control[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCRAPE_STREAM_COUNTER
public static final StreamingActor.Control SCRAPE_STREAM_COUNTER
Tell streaming actor to set the stream counter to its current number of child actors.
-
RETRIEVE_WEBSOCKET_CONFIG
public static final StreamingActor.Control RETRIEVE_WEBSOCKET_CONFIG
Request the current WebSocket config.
-
-
Method Detail
-
values
public static StreamingActor.Control[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StreamingActor.Control c : StreamingActor.Control.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamingActor.Control valueOf(String name)
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
-
-