| Modifier and Type | Field and Description |
|---|---|
protected Admin |
admin |
protected Connection |
connection |
protected boolean |
done |
protected int |
errorCode |
protected ExecutorService |
executor |
protected boolean |
initialized |
protected Canary.Sink |
sink |
protected String[] |
targets |
protected boolean |
useRegExp |
| Modifier | Constructor and Description |
|---|---|
protected |
Canary.Monitor(Connection connection,
String[] monitorTargets,
boolean useRegExp,
Canary.Sink sink,
ExecutorService executor) |
protected Connection connection
protected Admin admin
protected String[] targets
protected boolean useRegExp
protected boolean initialized
protected boolean done
protected int errorCode
protected Canary.Sink sink
protected ExecutorService executor
protected Canary.Monitor(Connection connection, String[] monitorTargets, boolean useRegExp, Canary.Sink sink, ExecutorService executor)
public boolean isDone()
public boolean hasError()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected boolean initAdmin()
Copyright © 2007–2016 Cloudera. All rights reserved.