| Constructor and Description |
|---|
MessagingConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getConnectionPoolSize()
Returns the connection pool size.
|
java.time.Duration |
getConnectTimeout()
Returns the Netty connection timeout.
|
java.util.List<java.lang.String> |
getInterfaces()
Returns the local interfaces to which to bind the node.
|
java.lang.Integer |
getPort()
Returns the local port to which to bind the node.
|
TlsConfig |
getTlsConfig()
Returns the TLS configuration.
|
MessagingConfig |
setConnectionPoolSize(int connectionPoolSize)
Sets the connection pool size.
|
MessagingConfig |
setConnectTimeout(java.time.Duration connectTimeout)
Sets the Netty connection timeout.
|
MessagingConfig |
setInterfaces(java.util.List<java.lang.String> interfaces)
Sets the local interfaces to which to bind the node.
|
MessagingConfig |
setPort(java.lang.Integer port)
Sets the local port to which to bind the node.
|
MessagingConfig |
setTlsConfig(TlsConfig tlsConfig)
Sets the TLS configuration.
|
public java.util.List<java.lang.String> getInterfaces()
public MessagingConfig setInterfaces(java.util.List<java.lang.String> interfaces)
interfaces - the local interfaces to which to bind the nodepublic java.lang.Integer getPort()
public MessagingConfig setPort(java.lang.Integer port)
port - the local port to which to bind the nodepublic int getConnectionPoolSize()
public MessagingConfig setConnectionPoolSize(int connectionPoolSize)
connectionPoolSize - the connection pool sizepublic java.time.Duration getConnectTimeout()
public MessagingConfig setConnectTimeout(java.time.Duration connectTimeout)
connectTimeout - the Netty connection timeoutpublic TlsConfig getTlsConfig()
public MessagingConfig setTlsConfig(TlsConfig tlsConfig)
tlsConfig - the TLS configurationCopyright © 2013-2019. All Rights Reserved.