@Beta
public class ClientConfig
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ClientConfig.ClientConfigBuilder
This class overrides the lombok builder.
|
Modifier and Type | Method and Description |
---|---|
static ClientConfig.ClientConfigBuilder |
builder() |
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.net.URI |
getControllerURI()
controllerURI The controller rpc URI.
|
io.pravega.client.stream.impl.Credentials |
getCredentials()
Credentials to be passed on to the Pravega controller for authentication and authorization.
|
int |
getMaxConnectionsPerSegmentStore()
Maximum number of connections per Segment store to be used by connection pooling.
|
io.pravega.shared.metrics.MetricListener |
getMetricListener()
An optional listener which can be used to get performance metrics from the client.
|
java.lang.String |
getTrustStore()
Path to an optional truststore.
|
int |
hashCode() |
boolean |
isEnableTls()
Returns whether TLS is enabled for client-to-server (Controller and Segment Store) communications.
|
boolean |
isEnableTlsToController() |
boolean |
isEnableTlsToSegmentStore() |
boolean |
isValidateHostName()
If the flag
isEnableTls() is set, this flag decides whether to enable host name validation or not. |
ClientConfig.ClientConfigBuilder |
toBuilder() |
java.lang.String |
toString() |
public boolean isEnableTls()
true
if TLS is enabled, otherwise returns false
public boolean isEnableTlsToController()
public boolean isEnableTlsToSegmentStore()
public static ClientConfig.ClientConfigBuilder builder()
public ClientConfig.ClientConfigBuilder toBuilder()
public java.net.URI getControllerURI()
public io.pravega.client.stream.impl.Credentials getCredentials()
public java.lang.String getTrustStore()
public boolean isValidateHostName()
isEnableTls()
is set, this flag decides whether to enable host name validation or not.public int getMaxConnectionsPerSegmentStore()
public io.pravega.shared.metrics.MetricListener getMetricListener()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object