Class MockTestStateModelFactory.OnlineOfflineStateModel

  • Enclosing class:
    MockTestStateModelFactory

    public static class MockTestStateModelFactory.OnlineOfflineStateModel
    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 killThreads()  
      void onBecomeBootstrapFromOffline​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeDroppedFromBootstrap​(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 onBecomeLeaderFromStandby​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeOfflineFromDropped​(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 onBecomeOfflineFromOnline​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeOfflineFromStandby​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      void onBecomeOnlineFromBootstrap​(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 onBecomeStandbyFromOffline​(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)  
      • Methods inherited from class org.apache.helix.participant.statemachine.StateModel

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

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

      • killThreads

        public void killThreads()
      • onBecomeBootstrapFromOffline

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

        public void onBecomeOnlineFromBootstrap​(org.apache.helix.model.Message message,
                                                org.apache.helix.NotificationContext context)
                                         throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • onBecomeDroppedFromBootstrap

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

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

        public void onBecomeStandbyFromOffline​(org.apache.helix.model.Message message,
                                               org.apache.helix.NotificationContext context)
                                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • 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)
      • onBecomeOfflineFromStandby

        public void onBecomeOfflineFromStandby​(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)
      • onBecomeOfflineFromDropped

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

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