@Immutable public class ServerSettings extends Object
| Modifier and Type | Class | Description | 
|---|---|---|
| static class  | ServerSettings.Builder | A builder for the settings. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static ServerSettings.Builder | builder() | Creates a builder for ServerSettings. | 
| static ServerSettings.Builder | builder(ServerSettings serverSettings) | Creates a builder instance. | 
| boolean | equals(Object o) | |
| long | getHeartbeatFrequency(TimeUnit timeUnit) | Gets the frequency that the cluster monitor attempts to reach each server. | 
| long | getMinHeartbeatFrequency(TimeUnit timeUnit) | Gets the minimum heartbeat frequency. | 
| List<ServerListener> | getServerListeners() | Gets the server listeners. | 
| List<ServerMonitorListener> | getServerMonitorListeners() | Gets the server monitor listeners. | 
| int | hashCode() | |
| String | toString() | 
public static ServerSettings.Builder builder()
public static ServerSettings.Builder builder(ServerSettings serverSettings)
serverSettings - existing ServerSettings to default the builder settings on.public long getHeartbeatFrequency(TimeUnit timeUnit)
timeUnit - the time unitpublic long getMinHeartbeatFrequency(TimeUnit timeUnit)
timeUnit - the time unitpublic List<ServerListener> getServerListeners()
public List<ServerMonitorListener> getServerMonitorListeners()