| Modifier and Type | Field and Description |
|---|---|
protected Admin |
admin |
protected Connection |
connection |
protected boolean |
done |
protected int |
errorCode |
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) |
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 Canary.Monitor(Connection connection, String[] monitorTargets, boolean useRegExp, Canary.Sink sink)
public boolean isDone()
public boolean hasError()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected boolean initAdmin()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.