Package com.linkedin.davinci.helix
Class LeaderFollowerPartitionStateModel.LeaderSessionIdChecker
java.lang.Object
com.linkedin.davinci.helix.LeaderFollowerPartitionStateModel.LeaderSessionIdChecker
- Enclosing class:
- LeaderFollowerPartitionStateModel
A leader session id checker will be created for each consumer action;
server checks whether the session id is still valid before processing
the consumer action.
-
Constructor Summary
ConstructorDescriptionLeaderSessionIdChecker
(long assignedSessionId, AtomicLong latestSessionIdHandle) -
Method Summary
-
Constructor Details
-
LeaderSessionIdChecker
-
-
Method Details
-
isSessionIdValid
public boolean isSessionIdValid()
-