| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private ClientAuth | |
| private JsonObject | clusterNodeMetadata
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private long | |
| private long | |
| private String | |
| private int | |
| private int | |
| public static final int | DEFAULT_ACCEPT_BACKLOG
The default accept backlog = 1024 |
| public static final ClientAuth | DEFAULT_CLIENT_AUTH
Default value of whether client auth is required (SSL/TLS) = No |
| public static final String | DEFAULT_CLUSTER_HOST
The default cluster host = null which means use the same as the cluster manager, if possible. |
| public static final long | DEFAULT_CLUSTER_PING_INTERVAL
The default value of cluster ping interval = 20000 ms. |
| public static final long | DEFAULT_CLUSTER_PING_REPLY_INTERVAL
The default value of cluster ping reply interval = 20000 ms. |
| public static final int | DEFAULT_CLUSTER_PORT
The default cluster port = 0 which means assign a random port. |
| public static final String | DEFAULT_CLUSTER_PUBLIC_HOST
The default cluster public host = null which means use the same as the cluster host. |
| public static final int | DEFAULT_CLUSTER_PUBLIC_PORT
The default cluster public port = -1 which means use the same as the cluster port. |
| public static final int | DEFAULT_CONNECT_TIMEOUT
The default value of connect timeout = 60000 ms |
| public static final int | DEFAULT_RECONNECT_ATTEMPTS
The default value for reconnect attempts = 0 |
| public static final long | DEFAULT_RECONNECT_INTERVAL
The default value for reconnect interval = 1000 ms |
| public static final boolean | DEFAULT_TRUST_ALL
The default value of whether all servers (SSL/TLS) should be trusted = true |
| private String | |
| private int | |
| private int | |
| private long | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | EventBusOptions(EventBusOptions
the other other)EventBusOptionsCopy constructor to create an instance of |
| public | EventBusOptions(JsonObject
the json object json)
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
Creates a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| public EventBusOptions | addCrlPath(String
the path crlPath)Overrides io. Add a CRL path |
| public EventBusOptions | addCrlValue(Buffer
the value crlValue)Overrides io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Add a CRL value |
| public EventBusOptions | addEnabledCipherSuite(String
the suite suite)Overrides io. Add an enabled cipher suite, appended to the ordered suites. |
| public EventBusOptions | addEnabledSecureTransportProtocol(String
the SSL/TLS protocol to enable protocol)Overrides io. Add an enabled SSL/TLS protocols, appended to the ordered protocols. |
| public int | |
| public ClientAuth | |
| public JsonObject | Returns: user-supplied information about this node when Vert.x is clustered
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
User-supplied information about this node when Vert.x is clustered. |
| public long | Returns: the value of cluster ping reply intervalGet the value of cluster ping reply interval, in ms. |
| public long | Returns: the value of cluster ping reply intervalGet the value of cluster ping reply interval, in ms. |
| public String | Returns: the public facing portGet the public facing host to be used when clustering. |
| public int | Returns: the public facing portGets the public facing port to be used when clustering. |
| public int | |
| public String | |
| public int | Returns: the port, which can be configured from thesetPort(int), or
using the --cluster-port command line option.
|
| public int | |
| public long | |
| public boolean | |
| public EventBusOptions | removeEnabledCipherSuite(String
the suite suite)Overrides io. Removes an enabled cipher suite from the ordered suites. |
| public EventBusOptions | removeEnabledSecureTransportProtocol(String
the SSL/TLS protocol to disable protocol)Overrides io. Removes an enabled SSL/TLS protocol from the ordered protocols. |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlyaccept backlog acceptBacklog)Set the accept back log. |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlyOne of "NONE, REQUEST, REQUIRED". If it's set to "REQUIRED" then server will require the
SSL cert to be presented otherwise it won't accept the request. If it's set to "REQUEST" then
it won't mandate the certificate to be presented, basically make it optional. clientAuth)Set whether client auth is required |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlyuser-supplied information about this node when Vert.x is clustered clusterNodeMetadata)
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
Set information about this node when Vert.x is clustered. |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlyThe value of cluster ping interval, in ms. clusterPingInterval)Set the value of cluster ping interval, in ms. |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlyThe value of cluster ping reply interval, in ms. clusterPingReplyInterval)Set the value of cluster ping reply interval, in ms. |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlythe public host name to use clusterPublicHost)Set the public facing hostname to be used for clustering. |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlythe public port to use clusterPublicPort)See |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlyconnect timeout, in ms connectTimeout)Sets the connect timeout |
| public EventBusOptions | setEnabledSecureTransportProtocols(Set<String>
the SSL/TLS protocols to enable enabledSecureTransportProtocols)Overrides io. Sets the list of enabled SSL/TLS protocols. |
| public EventBusOptions | |
| public EventBusOptions | setIdleTimeout(int
the timeout idleTimeout)Overrides io. Set the idle timeout, default time unit is seconds. |
| public EventBusOptions | setIdleTimeoutUnit(TimeUnit
specify time unit. idleTimeoutUnit)Overrides io. Set the idle timeout unit. |
| public EventBusOptions | setJdkSslEngineOptions(JdkSSLEngineOptions sslEngineOptions)
Overrides io.
Deprecated
|
| public EventBusOptions | setKeyCertOptions(KeyCertOptions
the key store options options)Overrides io. Set the key/cert options. |
| public EventBusOptions | setKeyStoreOptions(JksOptions
the key store in jks format options)Overrides io.
Deprecated
Set the key/cert options in jks format, aka Java keystore. |
| public EventBusOptions | setLogActivity(boolean
true for logging the network activity logEnabled)Overrides io. Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger. |
| public EventBusOptions | setOpenSslEngineOptions(OpenSSLEngineOptions sslEngineOptions)
Overrides io.
Deprecated
|
| public EventBusOptions | setPemKeyCertOptions(PemKeyCertOptions
the options in pem format options)Overrides io.
Deprecated
Set the key/cert store options in pem format. |
| public EventBusOptions | setPemTrustOptions(PemTrustOptions
the trust options in pem format options)Overrides io.
Deprecated
Set the trust options in pem format |
| public EventBusOptions | setPfxKeyCertOptions(PfxOptions
the key cert options in pfx format options)Overrides io.
Deprecated
Set the key/cert options in pfx format. |
| public EventBusOptions | setPfxTrustOptions(PfxOptions
the trust options in pfx format options)Overrides io.
Deprecated
Set the trust options in pfx format |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlythe port port)Sets the port. |
| public EventBusOptions | setReadIdleTimeout(int
the read timeout idleTimeout)Overrides io. Set the read idle timeout, default time unit is seconds. |
| public EventBusOptions | setReceiveBufferSize(int
the buffers size, in bytes receiveBufferSize)Overrides io. Set the TCP receive buffer size |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlythe maximum number of reconnect attempts attempts)Sets the value of reconnect attempts. |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlythe reconnect interval in ms interval)Set the reconnect interval. |
| public EventBusOptions | setReuseAddress(boolean
the value of reuse address reuseAddress)Overrides io. Set the value of reuse address |
| public EventBusOptions | setReusePort(boolean
the value of reuse port reusePort)Overrides io. Set the value of reuse port. |
| public EventBusOptions | setSendBufferSize(int
the buffers size, in bytes sendBufferSize)Overrides io. Set the TCP send buffer size |
| public EventBusOptions | setSoLinger(int
true if SO_linger is enabled soLinger)Overrides io. Set whether SO_linger keep alive is enabled |
| public EventBusOptions | setSsl(boolean
true if enabled ssl)Overrides io. Set whether SSL/TLS is enabled |
| public EventBusOptions | setSslEngineOptions(SSLEngineOptions
the ssl engine to use sslEngineOptions)Overrides io. Set to use SSL engine implementation to use. |
| public EventBusOptions | setSslHandshakeTimeout(long
the SSL handshake timeout to set, in milliseconds sslHandshakeTimeout)Overrides io. Set the SSL handshake timeout, default time unit is seconds. |
| public EventBusOptions | setSslHandshakeTimeoutUnit(TimeUnit
specify time unit. sslHandshakeTimeoutUnit)Overrides io. Set the SSL handshake timeout unit. |
| public EventBusOptions | setTcpCork(boolean
the cork value tcpCork)Overrides io. Enable the |
| public EventBusOptions | setTcpFastOpen(boolean
the fast open value tcpFastOpen)Overrides io. Enable the |
| public EventBusOptions | setTcpKeepAlive(boolean
true if TCP keep alive is enabled tcpKeepAlive)Overrides io. Set whether TCP keep alive is enabled |
| public EventBusOptions | setTcpNoDelay(boolean
true if TCP no delay is enabled (Nagle disabled) tcpNoDelay)Overrides io. Set whether TCP no delay is enabled |
| public EventBusOptions | setTcpQuickAck(boolean
the quick ack value tcpQuickAck)Overrides io. Enable the |
| public EventBusOptions | setTcpUserTimeout(int
the tcp user timeout value tcpUserTimeout)Overrides io. Sets the |
| public EventBusOptions | setTrafficClass(int
the value of traffic class trafficClass)Overrides io. Set the value of traffic class |
| public EventBusOptions | Returns: a reference to this, so the API can be used fluentlytrue if all should be trusted trustAll)Set whether all server certificates should be trusted. |
| public EventBusOptions | setTrustOptions(TrustOptions
the trust options options)Overrides io. Set the trust options. |
| public EventBusOptions | setTrustStoreOptions(JksOptions
the trust options in jks format options)Overrides io.
Deprecated
Set the trust options in jks format, aka Java truststore |
| public EventBusOptions | setUseAlpn(boolean
true when Application-Layer Protocol Negotiation should be used useAlpn)Overrides io. Set the ALPN usage. |
| public EventBusOptions | setWriteIdleTimeout(int
the write timeout idleTimeout)Overrides io. Set the write idle timeout, default time unit is seconds. |
| public JsonObject | Returns: the JSON representationOverrides io.
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
Builds a JSON object representing the current |