|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeDiscovery
Interface for a module that periodically updates the nodes in a connection pool.
Method Summary | |
---|---|
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 |
Method Detail |
---|
void start()
void shutdown()
org.joda.time.DateTime getLastRefreshTime()
long getRefreshCount()
long getErrorCount()
Exception getLastException()
String getRawHostList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |