Package org.apache.flink.state.api
Interface SavepointWriterOperatorFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates a savepoint writing operator from a savepoint path.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.streaming.api.operators.StreamOperatorFactory<TaggedOperatorSubtaskState>createOperator(long savepointTimestamp, org.apache.flink.core.fs.Path savepointPath) Creates aStreamOperatorto be used for generating and snapshotting state.
-
Method Details
-
createOperator
org.apache.flink.streaming.api.operators.StreamOperatorFactory<TaggedOperatorSubtaskState> createOperator(long savepointTimestamp, org.apache.flink.core.fs.Path savepointPath) Creates aStreamOperatorto be used for generating and snapshotting state.- Parameters:
savepointTimestamp- the timestamp to associate with the generated savepoint.savepointPath- the path to write the savepoint to.- Returns:
- a stream operator for writing the savepoint.
-