Class LeaderFollowerPartitionStateModel.LeaderSessionIdChecker

java.lang.Object
com.linkedin.davinci.helix.LeaderFollowerPartitionStateModel.LeaderSessionIdChecker
Enclosing class:
LeaderFollowerPartitionStateModel

public static class LeaderFollowerPartitionStateModel.LeaderSessionIdChecker extends 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 Details

    • LeaderSessionIdChecker

      public LeaderSessionIdChecker(long assignedSessionId, AtomicLong latestSessionIdHandle)
  • Method Details

    • isSessionIdValid

      public boolean isSessionIdValid()