Interface PartitionProducerStateProvider.ResponseHandle
-
- Enclosing interface:
- PartitionProducerStateProvider
public static interface PartitionProducerStateProvider.ResponseHandleResult of state query, accepts state check callbacks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancelConsumption()Cancel the partition consumptions as a result of state check.voidfailConsumption(Throwable cause)Fail the partition consumptions as a result of state check.ExecutionStategetConsumerExecutionState()org.apache.flink.types.Either<ExecutionState,Throwable>getProducerExecutionState()
-
-
-
Method Detail
-
getConsumerExecutionState
ExecutionState getConsumerExecutionState()
-
getProducerExecutionState
org.apache.flink.types.Either<ExecutionState,Throwable> getProducerExecutionState()
-
cancelConsumption
void cancelConsumption()
Cancel the partition consumptions as a result of state check.
-
failConsumption
void failConsumption(Throwable cause)
Fail the partition consumptions as a result of state check.- Parameters:
cause- failure cause
-
-