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) |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionSettingsBuilder |
builder() |
EventStoreDBClientSettings.Credentials |
getDefaultCredentials() |
int |
getDiscoveryInterval() |
int |
getGossipTimeout() |
Endpoint[] |
getHosts() |
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)
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 static ConnectionSettingsBuilder builder()