Package org.apache.flink.runtime.state
Class SharedStateRegistryKey
- java.lang.Object
-
- org.apache.flink.util.StringBasedID
-
- org.apache.flink.runtime.state.SharedStateRegistryKey
-
- All Implemented Interfaces:
Serializable
public class SharedStateRegistryKey extends org.apache.flink.util.StringBasedID
This class represents a key that uniquely identifies (on a logical level) state handles for registration in theSharedStateRegistry
. Two files which should logically be the same should have the sameSharedStateRegistryKey
. The meaning of logical equivalence is up to the application.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SharedStateRegistryKey(String keyString)
SharedStateRegistryKey(String prefix, StateHandleID stateHandleID)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SharedStateRegistryKey
forStreamStateHandle(StreamStateHandle handle)
Create a unique key based on physical id.
-
-
-
Constructor Detail
-
SharedStateRegistryKey
public SharedStateRegistryKey(String prefix, StateHandleID stateHandleID)
-
SharedStateRegistryKey
@VisibleForTesting public SharedStateRegistryKey(String keyString)
-
-
Method Detail
-
forStreamStateHandle
public static SharedStateRegistryKey forStreamStateHandle(StreamStateHandle handle)
Create a unique key based on physical id.
-
-