Package com.linkedin.venice.utils
Class MockTestStateModelFactory.OnlineOfflineStateModel
- java.lang.Object
-
- org.apache.helix.participant.statemachine.StateModel
-
- com.linkedin.venice.utils.MockTestStateModelFactory.OnlineOfflineStateModel
-
- Enclosing class:
- MockTestStateModelFactory
public static class MockTestStateModelFactory.OnlineOfflineStateModel extends org.apache.helix.participant.statemachine.StateModel
-
-
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)
-
-
-
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)
-
-