Enum State.Standards
- java.lang.Object
-
- java.lang.Enum<State.Standards>
-
- io.streamthoughts.azkarra.api.streams.State.Standards
-
- All Implemented Interfaces:
State
,Serializable
,Comparable<State.Standards>
- Enclosing interface:
- State
public static enum State.Standards extends Enum<State.Standards> implements State
The standardState
for aKafkaStreams
instance.- See Also:
KafkaStreams.State
,KafkaStreamsContainer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.streamthoughts.azkarra.api.streams.State
State.Standards
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATED
TheKafkaStreams
instance has been created successfully.ERROR
NOT_CREATED
TheKafkaStreams
instance has been created yet.NOT_RUNNING
PENDING_SHUTDOWN
REBALANCING
RUNNING
STOPPED
TheKafkaStreamsContainer
shutdown is complete.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static State.Standards
valueOf(String name)
Returns the enum constant of this type with the specified name.static State.Standards[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_CREATED
public static final State.Standards NOT_CREATED
TheKafkaStreams
instance has been created yet.
-
CREATED
public static final State.Standards CREATED
TheKafkaStreams
instance has been created successfully.
-
REBALANCING
public static final State.Standards REBALANCING
- See Also:
KafkaStreams.State.REBALANCING
-
RUNNING
public static final State.Standards RUNNING
- See Also:
KafkaStreams.State.RUNNING
-
PENDING_SHUTDOWN
public static final State.Standards PENDING_SHUTDOWN
- See Also:
KafkaStreams.State.PENDING_SHUTDOWN
-
NOT_RUNNING
public static final State.Standards NOT_RUNNING
- See Also:
KafkaStreams.State.NOT_RUNNING
-
STOPPED
public static final State.Standards STOPPED
TheKafkaStreamsContainer
shutdown is complete.
-
ERROR
public static final State.Standards ERROR
- See Also:
KafkaStreams.State.ERROR
-
-
Method Detail
-
values
public static State.Standards[] 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 (State.Standards c : State.Standards.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static State.Standards 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
-
-