public interface ServerListUpdater
DynamicServerListLoadBalancer to use for different ways
of doing dynamic server list updates.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ServerListUpdater.UpdateAction
an interface for the updateAction that actually executes a server list update
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCoreThreads() |
long |
getDurationSinceLastUpdateMs() |
java.lang.String |
getLastUpdate() |
int |
getNumberMissedCycles() |
void |
start(ServerListUpdater.UpdateAction updateAction)
start the serverList updater with the given update action
This call should be idempotent.
|
void |
stop()
stop the serverList updater.
|
void start(ServerListUpdater.UpdateAction updateAction)
updateAction - void stop()
java.lang.String getLastUpdate()
Date stringlong getDurationSinceLastUpdateMs()
int getNumberMissedCycles()
int getCoreThreads()