@Immutable public class ServerSettings extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ServerSettings.BuilderA builder for the settings. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ServerSettings.Builder | builder()Creates a builder for ServerSettings. | 
| 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 long getHeartbeatFrequency(TimeUnit timeUnit)
timeUnit - the time unitpublic long getMinHeartbeatFrequency(TimeUnit timeUnit)
timeUnit - the time unitpublic List<ServerListener> getServerListeners()
public List<ServerMonitorListener> getServerMonitorListeners()