| Package | Description |
|---|---|
| io.atomix.cluster |
Provides classes and interfaces for cluster management.
|
| Modifier and Type | Method and Description |
|---|---|
static AtomixClusterBuilder |
AtomixCluster.builder()
Returns a new Atomix builder.
|
static AtomixClusterBuilder |
AtomixCluster.builder(java.lang.ClassLoader classLoader)
Returns a new Atomix builder.
|
static AtomixClusterBuilder |
AtomixCluster.builder(ClusterConfig config)
Returns a new Atomix builder.
|
static AtomixClusterBuilder |
AtomixCluster.builder(java.lang.String config)
Returns a new Atomix builder.
|
static AtomixClusterBuilder |
AtomixCluster.builder(java.lang.String config,
java.lang.ClassLoader classLoader)
Returns a new Atomix builder.
|
AtomixClusterBuilder |
AtomixClusterBuilder.setBroadcastInterval(java.time.Duration interval)
Deprecated.
since 3.0.2
|
AtomixClusterBuilder |
AtomixClusterBuilder.setReachabilityThreshold(int threshold)
Deprecated.
since 3.0.2
|
AtomixClusterBuilder |
AtomixClusterBuilder.withAddress(Address address)
Sets the member address.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withAddress(int port)
Deprecated.
since 3.1. Use
withPort(int) instead |
AtomixClusterBuilder |
AtomixClusterBuilder.withAddress(java.lang.String address)
Deprecated.
since 3.1. Use
withHost(String) and/or withPort(int) instead |
AtomixClusterBuilder |
AtomixClusterBuilder.withAddress(java.lang.String host,
int port)
Deprecated.
since 3.1. Use
withHost(String) and withPort(int) instead |
AtomixClusterBuilder |
AtomixClusterBuilder.withBroadcastInterval(java.time.Duration interval)
Deprecated.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withClusterId(java.lang.String clusterId)
Sets the cluster identifier.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withConnectionPoolSize(int connectionPoolSize)
Sets the messaging connection pool size.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withHost(java.lang.String host)
Sets the member host.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withHostId(java.lang.String hostId)
Sets the host to which the member belongs.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withKeyStore(java.lang.String keyStore)
Sets the key store to use for TLS in the Atomix messaging service.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withKeyStorePassword(java.lang.String keyStorePassword)
Sets the key store password for the Atomix messaging service.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMemberId(MemberId localMemberId)
Sets the local member identifier.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMemberId(java.lang.String localMemberId)
Sets the local member identifier.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMembershipProtocol(GroupMembershipProtocol protocol)
Sets the cluster membership protocol.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMembershipProvider(NodeDiscoveryProvider locationProvider)
Sets the cluster membership provider.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMessagingInterface(java.lang.String iface)
Sets the interface to which to bind the instance.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMessagingInterfaces(java.util.Collection<java.lang.String> ifaces)
Sets the interface(s) to which to bind the instance.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMessagingInterfaces(java.lang.String... ifaces)
Sets the interface(s) to which to bind the instance.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMessagingPort(int bindPort)
Sets the local port to which to bind the node.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMulticastAddress(Address address)
Sets the multicast address.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMulticastEnabled()
Enables multicast communication.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMulticastEnabled(boolean multicastEnabled)
Sets whether multicast communication is enabled.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withPort(int port)
Sets the member port.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withProperties(java.util.Properties properties)
Sets the member properties.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withProperty(java.lang.String key,
java.lang.String value)
Sets a property of the member.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withRack(java.lang.String rack)
Deprecated.
since 3.1. Use
withRackId(String) instead |
AtomixClusterBuilder |
AtomixClusterBuilder.withRackId(java.lang.String rackId)
Sets the rack to which the member belongs.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withReachabilityThreshold(int threshold)
Deprecated.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withReachabilityTimeout(java.time.Duration timeout)
Deprecated.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withTlsEnabled()
Enables TLS for the Atomix messaging service.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withTlsEnabled(boolean tlsEnabled)
Sets whether TLS is enabled for the Atomix messaging service.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withTrustStore(java.lang.String trustStore)
Sets the trust store to use for TLS in the Atomix messaging service.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withTrustStorePassword(java.lang.String trustStorePassword)
Sets the trust store password for the Atomix messaging service.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withZone(java.lang.String zone)
Deprecated.
since 3.1. Use
withZoneId(String) instead |
AtomixClusterBuilder |
AtomixClusterBuilder.withZoneId(java.lang.String zoneId)
Sets the zone to which the member belongs.
|
Copyright © 2013-2019. All Rights Reserved.