Package org.apache.hadoop.hbase.tool
Class CanaryTool.ZookeeperMonitor
java.lang.Object
org.apache.hadoop.hbase.tool.CanaryTool.Monitor
org.apache.hadoop.hbase.tool.CanaryTool.ZookeeperMonitor
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Runnable
- Enclosing class:
- CanaryTool
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.tool.CanaryTool.Monitor
admin, allowedFailures, connection, done, errorCode, executor, initialized, sink, targets, treatFailureAsError, useRegExp
-
Constructor Summary
ModifierConstructorDescriptionprotected
ZookeeperMonitor
(Connection connection, String[] monitorTargets, boolean useRegExp, CanaryTool.Sink sink, ExecutorService executor, boolean treatFailureAsError, long allowedFailures) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.tool.CanaryTool.Monitor
close, finalCheckForErrors, hasError, initAdmin, isDone
-
Field Details
-
hosts
-
znode
-
timeout
-
-
Constructor Details
-
ZookeeperMonitor
protected ZookeeperMonitor(Connection connection, String[] monitorTargets, boolean useRegExp, CanaryTool.Sink sink, ExecutorService executor, boolean treatFailureAsError, long allowedFailures)
-
-
Method Details
-
run
- Specified by:
run
in interfaceRunnable
- Specified by:
run
in classCanaryTool.Monitor
-
getSink
-