Class AmbryPartitionStateModel


  • public class AmbryPartitionStateModel
    extends org.apache.helix.participant.statemachine.StateModel
    • Field Summary

      • Fields inherited from class org.apache.helix.participant.statemachine.StateModel

        _cancelled, _currentState
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onBecomeBootstrapFromOffline​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeDroppedFromError​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeDroppedFromOffline​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeInactiveFromStandby​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeLeaderFromStandby​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeOfflineFromError​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeOfflineFromInactive​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeStandbyFromBootstrap​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeStandbyFromLeader​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void reset()  
      • Methods inherited from class org.apache.helix.participant.statemachine.StateModel

        cancel, defaultTransitionHandler, getCurrentState, isCancelled, rollbackOnError, updateState
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onBecomeBootstrapFromOffline

        public void onBecomeBootstrapFromOffline​(org.apache.helix.model.Message message,
                                                 org.apache.helix.NotificationContext context)
      • onBecomeStandbyFromBootstrap

        public void onBecomeStandbyFromBootstrap​(org.apache.helix.model.Message message,
                                                 org.apache.helix.NotificationContext context)
      • onBecomeLeaderFromStandby

        public void onBecomeLeaderFromStandby​(org.apache.helix.model.Message message,
                                              org.apache.helix.NotificationContext context)
      • onBecomeStandbyFromLeader

        public void onBecomeStandbyFromLeader​(org.apache.helix.model.Message message,
                                              org.apache.helix.NotificationContext context)
      • onBecomeInactiveFromStandby

        public void onBecomeInactiveFromStandby​(org.apache.helix.model.Message message,
                                                org.apache.helix.NotificationContext context)
      • onBecomeOfflineFromInactive

        public void onBecomeOfflineFromInactive​(org.apache.helix.model.Message message,
                                                org.apache.helix.NotificationContext context)
      • onBecomeDroppedFromOffline

        public void onBecomeDroppedFromOffline​(org.apache.helix.model.Message message,
                                               org.apache.helix.NotificationContext context)
      • onBecomeDroppedFromError

        public void onBecomeDroppedFromError​(org.apache.helix.model.Message message,
                                             org.apache.helix.NotificationContext context)
        Overrides:
        onBecomeDroppedFromError in class org.apache.helix.participant.statemachine.StateModel
      • onBecomeOfflineFromError

        public void onBecomeOfflineFromError​(org.apache.helix.model.Message message,
                                             org.apache.helix.NotificationContext context)
      • reset

        public void reset()
        Overrides:
        reset in class org.apache.helix.participant.statemachine.StateModel