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
Interfaces
ClusterStateVerifier.Verifier
ClusterStateVerifier.ZkVerifier
Classes
CLMLogFileAppender
ClusterExternalViewVerifier
ClusterLiveNodesVerifier
ClusterSetup
ClusterStateVerifier
ClusterStateVerifier.BestPossAndExtViewZkVerifier
ClusterStateVerifier.MasterNbInExtViewVerifier
ClusterVerifier
IntegrationTestUtil
JmxDumper
LocalZKServer
MessagePoster
NewClusterSetup
StateModelConfigGenerator
TestCommand
TestCommand.NodeOpArg
TestExecutor
TestTrigger
YAMLClusterSetup
YAMLClusterSetup.YAMLClusterConfig
YAMLClusterSetup.YAMLClusterConfig.ParticipantConfig
YAMLClusterSetup.YAMLClusterConfig.ResourceConfig
YAMLClusterSetup.YAMLClusterConfig.ResourceConfig.ConstraintsConfig
YAMLClusterSetup.YAMLClusterConfig.ResourceConfig.ConstraintsConfig.StateConstraintsConfig
YAMLClusterSetup.YAMLClusterConfig.ResourceConfig.ConstraintsConfig.TransitionConstraintsConfig
YAMLClusterSetup.YAMLClusterConfig.ResourceConfig.StateModelConfig
ZKDumper
ZkLogAnalyzer
ZkLogCSVFormatter
ZKLogFormatter
ZnodeOpArg
ZnodeValue
Enums
NewClusterSetup.HelixOption
TestCommand.CommandType
TestExecutor.ZnodePropertyType
Package Index
|
Class Index
Summary:
Fields
|
Ctors
|
Methods
|
Inherited Methods
|
[Expand All]
public abstract class
ClusterVerifier
extends
Object
implements IZkChildListener IZkDataListener
java.lang.Object
↳
org.apache.helix.tools.ClusterVerifier
Known Direct Subclasses
ClusterExternalViewVerifier
,
ClusterLiveNodesVerifier
ClusterExternalViewVerifier
given zk, cluster, and a list of expected live-instances check whether cluster's external-view reaches best-possible states
ClusterLiveNodesVerifier
Summary
Fields
protected final
HelixDataAccessor
_accessor
protected final
String
_clusterName
protected final
PropertyKey.Builder
_keyBuilder
protected final
ZkClient
_zkclient
Public Constructors
ClusterVerifier
(
ZkClient
zkclient,
String
clusterName)
Public Methods
void
handleChildChange
(
String
parentPath,
List
<
String
> currentChilds)
void
handleDataChange
(
String
dataPath,
Object
data)
void
handleDataDeleted
(
String
dataPath)
abstract boolean
verify
()
verify@return
boolean
verifyByCallback
(long timeout,
List
<ClusterVerifier.ClusterVerifyTrigger> triggers)
boolean
verifyByPolling
(long timeout)
[Expand]
Inherited Methods
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)
From interface org.I0Itec.zkclient.IZkChildListener
abstract void
handleChildChange
(
String
arg0,
List
<
String
> arg1)
From interface org.I0Itec.zkclient.IZkDataListener
abstract void
handleDataChange
(
String
arg0,
Object
arg1)
abstract void
handleDataDeleted
(
String
arg0)
Fields
protected final
HelixDataAccessor
_accessor
protected final
String
_clusterName
protected final
PropertyKey.Builder
_keyBuilder
protected final
ZkClient
_zkclient
Public Constructors
public
ClusterVerifier
(
ZkClient
zkclient,
String
clusterName)
Public Methods
public void
handleChildChange
(
String
parentPath,
List
<
String
> currentChilds)
Throws
Exception
public void
handleDataChange
(
String
dataPath,
Object
data)
Throws
Exception
public void
handleDataDeleted
(
String
dataPath)
Throws
Exception
public abstract boolean
verify
()
verify@return
Throws
Exception
public boolean
verifyByCallback
(long timeout,
List
<ClusterVerifier.ClusterVerifyTrigger> triggers)
public boolean
verifyByPolling
(long timeout)