Interface PartitionProducerStateProvider.ResponseHandle
- Enclosing interface:
- PartitionProducerStateProvider
public static interface PartitionProducerStateProvider.ResponseHandle
Result of state query, accepts state check callbacks.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCancel the partition consumptions as a result of state check.voidfailConsumption(Throwable cause) Fail the partition consumptions as a result of state check.org.apache.flink.types.Either<ExecutionState,Throwable>
-
Method Details
-
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
Fail the partition consumptions as a result of state check.- Parameters:
cause- failure cause
-