Package org.gridgain.internal.pitr
Class CoordinatorState
java.lang.Object
org.gridgain.internal.pitr.CoordinatorState
Represents a state specific to the PITR coordinator role.
Multiple instances of this class may exist but they must all shared the same ongoingOperations map and rebalanceWatch.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonOperationComplete(UUID operationId) Must be invoked when an operation finishes.voidonOperationStarted(UUID operationId, PitrLocalStateWatch localStateWatch) Must be invoked when an operation is requested.longterm()Coordinator term.
-
Method Details
-
term
public long term()Coordinator term. -
onOperationStarted
Must be invoked when an operation is requested. -
onOperationComplete
Must be invoked when an operation finishes.
-