@NotThreadSafe public static interface PeriodicMaterializationManager.MaterializationTarget
PeriodicMaterializationManager.MaterializationRunnable provider and consumer, i.e. state backend.| 限定符和类型 | 字段和说明 |
|---|---|
static PeriodicMaterializationManager.MaterializationTarget |
NO_OP |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleMaterializationFailureOrCancellation(long materializationID,
org.apache.flink.runtime.state.changelog.SequenceNumber upTo,
Throwable cause) |
void |
handleMaterializationResult(org.apache.flink.runtime.state.SnapshotResult<org.apache.flink.runtime.state.KeyedStateHandle> materializedSnapshot,
long materializationID,
org.apache.flink.runtime.state.changelog.SequenceNumber upTo)
Implementations should not trigger materialization until the previous one has been
confirmed or failed.
|
Optional<PeriodicMaterializationManager.MaterializationRunnable> |
initMaterialization()
Initialize state materialization so that materialized data can be persisted durably and
included into the checkpoint.
|
static final PeriodicMaterializationManager.MaterializationTarget NO_OP
Optional<PeriodicMaterializationManager.MaterializationRunnable> initMaterialization() throws Exception
SequenceNumber identifying the latest change in the changelogExceptionvoid handleMaterializationResult(org.apache.flink.runtime.state.SnapshotResult<org.apache.flink.runtime.state.KeyedStateHandle> materializedSnapshot,
long materializationID,
org.apache.flink.runtime.state.changelog.SequenceNumber upTo)
throws Exception
Exceptionvoid handleMaterializationFailureOrCancellation(long materializationID,
org.apache.flink.runtime.state.changelog.SequenceNumber upTo,
Throwable cause)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.