Class ClientRequestTrackerImpl
java.lang.Object
org.opendaylight.controller.cluster.raft.ClientRequestTrackerImpl
- All Implemented Interfaces:
ClientRequestTracker
-
Constructor Summary
ConstructorsConstructorDescriptionClientRequestTrackerImpl(ActorRef clientActor, Identifier identifier, long logIndex) -
Method Summary
Modifier and TypeMethodDescriptionReturns the client actor that should be sent a response when consensus is achieved.Returns the identifier of the object that is to be replicated.longgetIndex()Returns the index of the log entry that is to be replicated.
-
Constructor Details
-
ClientRequestTrackerImpl
-
-
Method Details
-
getClientActor
Description copied from interface:ClientRequestTrackerReturns the client actor that should be sent a response when consensus is achieved.- Specified by:
getClientActorin interfaceClientRequestTracker- Returns:
- the client actor
-
getIndex
public long getIndex()Description copied from interface:ClientRequestTrackerReturns the index of the log entry that is to be replicated.- Specified by:
getIndexin interfaceClientRequestTracker- Returns:
- the index
-
getIdentifier
Description copied from interface:ClientRequestTrackerReturns the identifier of the object that is to be replicated. For example a transaction identifier in the case of a transaction.- Specified by:
getIdentifierin interfaceClientRequestTracker- Returns:
- the identifier
-