Interface StateDeclaration
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
AggregatingStateDeclaration<IN,ACC,OUT>,BroadcastStateDeclaration<K,V>,ListStateDeclaration<T>,MapStateDeclaration<K,V>,ReducingStateDeclaration<T>,ValueStateDeclaration<T>
@Experimental public interface StateDeclaration extends Serializable
StateDeclarationrepresents a declaration of the specific state used.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStateDeclaration.RedistributionModeStateDeclaration.RedistributionModeis used to indicate whether this state supports redistribution between partitions and how to redistribute this state during rescaling.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Get the name of this state.StateDeclaration.RedistributionModegetRedistributionMode()Get theStateDeclaration.RedistributionModeof this state.
-
-
-
Method Detail
-
getName
String getName()
Get the name of this state.
-
getRedistributionMode
StateDeclaration.RedistributionMode getRedistributionMode()
Get theStateDeclaration.RedistributionModeof this state. More details see the doc ofStateDeclaration.RedistributionMode.
-
-