Package org.apache.flink.runtime.state
Interface StateBackend.KeyedStateBackendParameters<K>
-
- Type Parameters:
K
- The type of the keys by which the state is organized.
- All Known Implementing Classes:
KeyedStateBackendParametersImpl
- Enclosing interface:
- StateBackend
@PublicEvolving public static interface StateBackend.KeyedStateBackendParameters<K>
Parameters passed toStateBackend.createKeyedStateBackend(KeyedStateBackendParameters)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.flink.core.fs.CloseableRegistry
getCancelStreamRegistry()
StateBackend.CustomInitializationMetrics
getCustomInitializationMetrics()
Environment
getEnv()
org.apache.flink.api.common.JobID
getJobID()
KeyGroupRange
getKeyGroupRange()
org.apache.flink.api.common.typeutils.TypeSerializer<K>
getKeySerializer()
TaskKvStateRegistry
getKvStateRegistry()
double
getManagedMemoryFraction()
org.apache.flink.metrics.MetricGroup
getMetricGroup()
int
getNumberOfKeyGroups()
String
getOperatorIdentifier()
Collection<KeyedStateHandle>
getStateHandles()
TtlTimeProvider
getTtlTimeProvider()
-
-
-
Method Detail
-
getEnv
Environment getEnv()
- Returns:
- The runtime environment of the executing task.
-
getJobID
org.apache.flink.api.common.JobID getJobID()
-
getOperatorIdentifier
String getOperatorIdentifier()
-
getKeySerializer
org.apache.flink.api.common.typeutils.TypeSerializer<K> getKeySerializer()
-
getNumberOfKeyGroups
int getNumberOfKeyGroups()
-
getKeyGroupRange
KeyGroupRange getKeyGroupRange()
- Returns:
- Range of key-groups for which the to-be-created backend is responsible.
-
getKvStateRegistry
TaskKvStateRegistry getKvStateRegistry()
-
getTtlTimeProvider
TtlTimeProvider getTtlTimeProvider()
- Returns:
- Provider for TTL logic to judge about state expiration.
-
getMetricGroup
org.apache.flink.metrics.MetricGroup getMetricGroup()
-
getStateHandles
@Nonnull Collection<KeyedStateHandle> getStateHandles()
-
getCancelStreamRegistry
org.apache.flink.core.fs.CloseableRegistry getCancelStreamRegistry()
- Returns:
- The registry to which created closeable objects will be * registered during restore.
-
getManagedMemoryFraction
double getManagedMemoryFraction()
-
getCustomInitializationMetrics
StateBackend.CustomInitializationMetrics getCustomInitializationMetrics()
-
-