public class EventStoreDBClientSettings
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
EventStoreDBClientSettings.Credentials |
| Constructor and Description |
|---|
EventStoreDBClientSettings(boolean dnsDiscover,
int maxDiscoverAttempts,
int discoveryInterval,
int gossipTimeout,
NodePreference nodePreference,
boolean tls,
boolean tlsVerifyCert,
boolean throwOnAppendFailure,
EventStoreDBClientSettings.Credentials defaultCredentials,
Endpoint[] hosts,
long keepAliveTimeout,
long keepAliveInterval) |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionSettingsBuilder |
builder() |
EventStoreDBClientSettings.Credentials |
getDefaultCredentials() |
int |
getDiscoveryInterval() |
int |
getGossipTimeout() |
Endpoint[] |
getHosts() |
long |
getKeepAliveInterval() |
long |
getKeepAliveTimeout() |
int |
getMaxDiscoverAttempts() |
NodePreference |
getNodePreference() |
boolean |
isDnsDiscover() |
boolean |
isThrowOnAppendFailure() |
boolean |
isTls() |
boolean |
isTlsVerifyCert() |
public EventStoreDBClientSettings(boolean dnsDiscover,
int maxDiscoverAttempts,
int discoveryInterval,
int gossipTimeout,
NodePreference nodePreference,
boolean tls,
boolean tlsVerifyCert,
boolean throwOnAppendFailure,
EventStoreDBClientSettings.Credentials defaultCredentials,
Endpoint[] hosts,
long keepAliveTimeout,
long keepAliveInterval)
public boolean isDnsDiscover()
public int getMaxDiscoverAttempts()
public int getDiscoveryInterval()
public int getGossipTimeout()
public NodePreference getNodePreference()
public boolean isTls()
public boolean isTlsVerifyCert()
public boolean isThrowOnAppendFailure()
public EventStoreDBClientSettings.Credentials getDefaultCredentials()
public Endpoint[] getHosts()
public long getKeepAliveTimeout()
public long getKeepAliveInterval()
public static ConnectionSettingsBuilder builder()