Apache Helix
Package Index
|
Class Index
org.apache.helix
org.apache.helix.agent
org.apache.helix.alerts
org.apache.helix.api
org.apache.helix.api.accessor
org.apache.helix.api.config
org.apache.helix.api.id
org.apache.helix.controller
org.apache.helix.controller.context
org.apache.helix.controller.pipeline
org.apache.helix.controller.rebalancer
org.apache.helix.controller.rebalancer.config
org.apache.helix.controller.rebalancer.util
org.apache.helix.controller.restlet
org.apache.helix.controller.serializer
org.apache.helix.controller.stages
org.apache.helix.controller.strategy
org.apache.helix.examples
org.apache.helix.filestore
org.apache.helix.healthcheck
org.apache.helix.lock
org.apache.helix.lock.zk
org.apache.helix.lockmanager
org.apache.helix.manager.zk
org.apache.helix.manager.zk.serializer
org.apache.helix.messaging
org.apache.helix.messaging.handling
org.apache.helix.model
org.apache.helix.model.builder
org.apache.helix.model.util
org.apache.helix.monitoring
org.apache.helix.monitoring.mbeans
org.apache.helix.participant
org.apache.helix.participant.statemachine
org.apache.helix.recipes.rabbitmq
org.apache.helix.servicediscovery
org.apache.helix.spectator
org.apache.helix.store
org.apache.helix.store.zk
org.apache.helix.taskexecution
org.apache.helix.tools
org.apache.helix.userdefinedrebalancer
org.apache.helix.util
org.apache.helix.webapp
org.apache.helix.webapp.resources
Classes
Lock
LockFactory
LockManagerDemo
LockManagerRebalancer
LockProcess
Package Index
|
Class Index
Summary:
Inherited Fields
|
Ctors
|
Methods
|
Inherited Methods
|
[Expand All]
public class
Lock
extends
StateModel
java.lang.Object
↳
org.apache.helix.participant.statemachine.StateModel
↳
org.apache.helix.userdefinedrebalancer.Lock
Summary
[Expand]
Inherited Fields
From class
org.apache.helix.participant.statemachine.StateModel
protected
String
_currentState
Public Constructors
Lock
(
String
lockName)
Public Methods
void
drop
(
Message
m,
NotificationContext
context)
void
lock
(
Message
m,
NotificationContext
context)
void
release
(
Message
m,
NotificationContext
context)
[Expand]
Inherited Methods
From class
org.apache.helix.participant.statemachine.StateModel
void
defaultTransitionHandler
()
String
getCurrentState
()
void
onBecomeDroppedFromError
(
Message
message,
NotificationContext
context)
default transition for drop partition in error state
void
reset
()
Called when the state model is reset
void
rollbackOnError
(
Message
message,
NotificationContext
context,
StateTransitionError
error)
Called when error occurs in state transition TODO:enforce subclass to write this
boolean
updateState
(
String
newState)
From class
java.lang.Object
Object
clone
()
boolean
equals
(
Object
arg0)
void
finalize
()
final
Class
<?>
getClass
()
int
hashCode
()
final void
notify
()
final void
notifyAll
()
String
toString
()
final void
wait
()
final void
wait
(long arg0, int arg1)
final void
wait
(long arg0)
Public Constructors
public
Lock
(
String
lockName)
Public Methods
public void
drop
(
Message
m,
NotificationContext
context)
public void
lock
(
Message
m,
NotificationContext
context)
public void
release
(
Message
m,
NotificationContext
context)