public abstract class

ClusterVerifier

extends Object
implements IZkChildListener IZkDataListener
java.lang.Object
   ↳ org.apache.helix.tools.ClusterVerifier
Known Direct Subclasses

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
From interface org.I0Itec.zkclient.IZkChildListener
From interface org.I0Itec.zkclient.IZkDataListener

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)