org.kie.commons.io.impl.cluster.helix
Class LockTransitionModel
java.lang.Object
org.apache.helix.participant.statemachine.StateModel
org.kie.commons.io.impl.cluster.helix.LockTransitionModel
public class LockTransitionModel
- extends org.apache.helix.participant.statemachine.StateModel
| Fields inherited from class org.apache.helix.participant.statemachine.StateModel |
_currentState |
|
Method Summary |
void |
dropped(org.apache.helix.model.Message m,
org.apache.helix.NotificationContext context)
|
void |
lock(org.apache.helix.model.Message m,
org.apache.helix.NotificationContext context)
|
void |
release(org.apache.helix.model.Message m,
org.apache.helix.NotificationContext context)
|
void |
toOffLine(org.apache.helix.model.Message m,
org.apache.helix.NotificationContext context)
|
void |
toStandBy(org.apache.helix.model.Message m,
org.apache.helix.NotificationContext context)
|
| Methods inherited from class org.apache.helix.participant.statemachine.StateModel |
defaultOnBecomeDroppedFromError, defaultTransitionHandler, getCurrentState, reset, rollbackOnError, updateState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockTransitionModel
public LockTransitionModel(String lockName,
org.kie.commons.io.impl.cluster.helix.SimpleLock lock)
lock
public void lock(org.apache.helix.model.Message m,
org.apache.helix.NotificationContext context)
release
public void release(org.apache.helix.model.Message m,
org.apache.helix.NotificationContext context)
toOffLine
public void toOffLine(org.apache.helix.model.Message m,
org.apache.helix.NotificationContext context)
toStandBy
public void toStandBy(org.apache.helix.model.Message m,
org.apache.helix.NotificationContext context)
dropped
public void dropped(org.apache.helix.model.Message m,
org.apache.helix.NotificationContext context)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.