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.long
getIndex()
Returns the index of the log entry that is to be replicated.
-
Constructor Details
-
ClientRequestTrackerImpl
-
-
Method Details
-
getClientActor
Description copied from interface:ClientRequestTracker
Returns the client actor that should be sent a response when consensus is achieved.- Specified by:
getClientActor
in interfaceClientRequestTracker
- Returns:
- the client actor
-
getIndex
public long getIndex()Description copied from interface:ClientRequestTracker
Returns the index of the log entry that is to be replicated.- Specified by:
getIndex
in interfaceClientRequestTracker
- Returns:
- the index
-
getIdentifier
Description copied from interface:ClientRequestTracker
Returns the identifier of the object that is to be replicated. For example a transaction identifier in the case of a transaction.- Specified by:
getIdentifier
in interfaceClientRequestTracker
- Returns:
- the identifier
-