Package com.linkedin.davinci.helix
Class LeaderFollowerPartitionStateModel.LeaderSessionIdChecker
- java.lang.Object
-
- com.linkedin.davinci.helix.LeaderFollowerPartitionStateModel.LeaderSessionIdChecker
-
- Enclosing class:
- LeaderFollowerPartitionStateModel
public static class LeaderFollowerPartitionStateModel.LeaderSessionIdChecker extends java.lang.Object
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
Constructors Constructor Description LeaderSessionIdChecker(long assignedSessionId, java.util.concurrent.atomic.AtomicLong latestSessionIdHandle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSessionIdValid()
-