public class DefaultOperatorStateBackendBuilder extends Object implements StateBackendBuilder<DefaultOperatorStateBackend,BackendBuildingException>
DefaultOperatorStateBackend which handles all necessary initializations
and clean ups.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
asynchronousSnapshots
Flag to de/activate asynchronous snapshots.
|
protected org.apache.flink.core.fs.CloseableRegistry |
cancelStreamRegistry |
protected org.apache.flink.api.common.ExecutionConfig |
executionConfig
The execution configuration.
|
protected Collection<OperatorStateHandle> |
restoreStateHandles
State handles for restore.
|
protected ClassLoader |
userClassloader
The user code classloader.
|
| Constructor and Description |
|---|
DefaultOperatorStateBackendBuilder(ClassLoader userClassloader,
org.apache.flink.api.common.ExecutionConfig executionConfig,
boolean asynchronousSnapshots,
Collection<OperatorStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) |
@VisibleForTesting protected final ClassLoader userClassloader
@VisibleForTesting protected final org.apache.flink.api.common.ExecutionConfig executionConfig
@VisibleForTesting protected final boolean asynchronousSnapshots
@VisibleForTesting protected final Collection<OperatorStateHandle> restoreStateHandles
@VisibleForTesting protected final org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry
public DefaultOperatorStateBackendBuilder(ClassLoader userClassloader, org.apache.flink.api.common.ExecutionConfig executionConfig, boolean asynchronousSnapshots, Collection<OperatorStateHandle> stateHandles, org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry)
public DefaultOperatorStateBackend build() throws BackendBuildingException
build in interface StateBackendBuilder<DefaultOperatorStateBackend,BackendBuildingException>BackendBuildingExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.