|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.astyanax.shallows.EmptyNodeDiscoveryImpl
public class EmptyNodeDiscoveryImpl
Method Summary | |
---|---|
static EmptyNodeDiscoveryImpl |
get()
|
long |
getErrorCount()
Get total number of errors encountered during a refresh |
Exception |
getLastException()
Get the last exception that was encountered |
org.joda.time.DateTime |
getLastRefreshTime()
Get the last refresh time in the discovery thread |
String |
getRawHostList()
Get the raw list of nodes from the underlying refresh mechanism |
long |
getRefreshCount()
Get the number of refreshes |
void |
shutdown()
Stop the node discovery thread |
void |
start()
Start the node discovery thread |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static EmptyNodeDiscoveryImpl get()
public void start()
NodeDiscovery
start
in interface NodeDiscovery
public void shutdown()
NodeDiscovery
shutdown
in interface NodeDiscovery
public org.joda.time.DateTime getLastRefreshTime()
NodeDiscovery
getLastRefreshTime
in interface NodeDiscovery
public long getRefreshCount()
NodeDiscovery
getRefreshCount
in interface NodeDiscovery
public long getErrorCount()
NodeDiscovery
getErrorCount
in interface NodeDiscovery
public Exception getLastException()
NodeDiscovery
getLastException
in interface NodeDiscovery
public String getRawHostList()
NodeDiscovery
getRawHostList
in interface NodeDiscovery
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |