public class EmptyNodeDiscoveryImpl extends java.lang.Object implements NodeDiscovery
| Modifier and Type | Method and Description |
|---|---|
static EmptyNodeDiscoveryImpl |
get() |
long |
getErrorCount() |
java.lang.Exception |
getLastException() |
org.joda.time.DateTime |
getLastRefreshTime() |
java.lang.String |
getRawHostList() |
long |
getRefreshCount() |
void |
shutdown()
Stop the node discovery thread
|
void |
start()
Start the node discovery thread
|
java.lang.String |
toString() |
public static EmptyNodeDiscoveryImpl get()
public void start()
NodeDiscoverystart in interface NodeDiscoverypublic void shutdown()
NodeDiscoveryshutdown in interface NodeDiscoverypublic org.joda.time.DateTime getLastRefreshTime()
getLastRefreshTime in interface NodeDiscoverypublic long getRefreshCount()
getRefreshCount in interface NodeDiscoverypublic long getErrorCount()
getErrorCount in interface NodeDiscoverypublic java.lang.Exception getLastException()
getLastException in interface NodeDiscoverypublic java.lang.String getRawHostList()
getRawHostList in interface NodeDiscoverypublic java.lang.String toString()
toString in class java.lang.Object