Class OperatorSnapshotFutures
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.OperatorSnapshotFutures
-
public class OperatorSnapshotFutures extends Object
-
-
Constructor Summary
Constructors Constructor Description OperatorSnapshotFutures()
OperatorSnapshotFutures(RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateManagedFuture, RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateRawFuture, RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateManagedFuture, RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateRawFuture, Future<SnapshotResult<StateObjectCollection<InputChannelStateHandle>>> inputChannelStateFuture, Future<SnapshotResult<StateObjectCollection<ResultSubpartitionStateHandle>>> resultSubpartitionStateFuture)
-
Method Summary
-
-
-
Constructor Detail
-
OperatorSnapshotFutures
public OperatorSnapshotFutures()
-
OperatorSnapshotFutures
public OperatorSnapshotFutures(@Nonnull RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateManagedFuture, @Nonnull RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateRawFuture, @Nonnull RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateManagedFuture, @Nonnull RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateRawFuture, @Nonnull Future<SnapshotResult<StateObjectCollection<InputChannelStateHandle>>> inputChannelStateFuture, @Nonnull Future<SnapshotResult<StateObjectCollection<ResultSubpartitionStateHandle>>> resultSubpartitionStateFuture)
-
-
Method Detail
-
getKeyedStateManagedFuture
@Nonnull public RunnableFuture<SnapshotResult<KeyedStateHandle>> getKeyedStateManagedFuture()
-
setKeyedStateManagedFuture
public void setKeyedStateManagedFuture(@Nonnull RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateManagedFuture)
-
getKeyedStateRawFuture
@Nonnull public RunnableFuture<SnapshotResult<KeyedStateHandle>> getKeyedStateRawFuture()
-
setKeyedStateRawFuture
public void setKeyedStateRawFuture(@Nonnull RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateRawFuture)
-
getOperatorStateManagedFuture
@Nonnull public RunnableFuture<SnapshotResult<OperatorStateHandle>> getOperatorStateManagedFuture()
-
setOperatorStateManagedFuture
public void setOperatorStateManagedFuture(@Nonnull RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateManagedFuture)
-
getOperatorStateRawFuture
@Nonnull public RunnableFuture<SnapshotResult<OperatorStateHandle>> getOperatorStateRawFuture()
-
setOperatorStateRawFuture
public void setOperatorStateRawFuture(@Nonnull RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateRawFuture)
-
getInputChannelStateFuture
@Nonnull public Future<SnapshotResult<StateObjectCollection<InputChannelStateHandle>>> getInputChannelStateFuture()
-
setInputChannelStateFuture
public void setInputChannelStateFuture(@Nonnull Future<SnapshotResult<StateObjectCollection<InputChannelStateHandle>>> inputChannelStateFuture)
-
getResultSubpartitionStateFuture
@Nonnull public Future<SnapshotResult<StateObjectCollection<ResultSubpartitionStateHandle>>> getResultSubpartitionStateFuture()
-
setResultSubpartitionStateFuture
public void setResultSubpartitionStateFuture(@Nonnull Future<SnapshotResult<StateObjectCollection<ResultSubpartitionStateHandle>>> resultSubpartitionStateFuture)
-
cancel
public Tuple2<Long,Long> cancel() throws Exception
- Returns:
- discarded state size (if available).
- Throws:
Exception
-
getAllFutures
public Future<?>[] getAllFutures()
-
-