Kie Commons I/O 6.0.0.CR4

org.kie.commons.io.impl.cluster.helix
Class LockTransitionModel

java.lang.Object
  extended by org.apache.helix.participant.statemachine.StateModel
      extended by org.kie.commons.io.impl.cluster.helix.LockTransitionModel

public class LockTransitionModel
extends org.apache.helix.participant.statemachine.StateModel


Field Summary
 
Fields inherited from class org.apache.helix.participant.statemachine.StateModel
_currentState
 
Constructor Summary
LockTransitionModel(String lockName, org.kie.commons.io.impl.cluster.helix.SimpleLock lock)
           
 
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
 

Constructor Detail

LockTransitionModel

public LockTransitionModel(String lockName,
                           org.kie.commons.io.impl.cluster.helix.SimpleLock lock)
Method Detail

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)

Kie Commons I/O 6.0.0.CR4

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.