| 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(ClassLoader classLoader)
Returns a new Atomix builder.
|
static AtomixClusterBuilder |
AtomixCluster.builder(ClusterConfig config)
Returns a new Atomix builder.
|
static AtomixClusterBuilder |
AtomixCluster.builder(String config)
Returns a new Atomix builder.
|
static AtomixClusterBuilder |
AtomixCluster.builder(String config,
ClassLoader classLoader)
Returns a new Atomix builder.
|
AtomixClusterBuilder |
AtomixClusterBuilder.setBroadcastInterval(Duration interval)
Sets the reachability broadcast interval.
|
AtomixClusterBuilder |
AtomixClusterBuilder.setReachabilityThreshold(int threshold)
Sets the reachability failure detection threshold.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withAddress(io.atomix.utils.net.Address address)
Sets the member address.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withAddress(int port)
Sets the member address using local host.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withAddress(String address)
Sets the member address.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withAddress(String host,
int port)
Sets the member host/port.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withClusterId(String clusterId)
Sets the cluster identifier.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withHost(String host)
Sets the host to which the member belongs.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMemberId(MemberId localMemberId)
Sets the local member identifier.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMemberId(String localMemberId)
Sets the local member identifier.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMembershipProvider(NodeDiscoveryProvider locationProvider)
Sets the cluster membership provider.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withMulticastAddress(io.atomix.utils.net.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.withProperties(Properties properties)
Sets the member properties.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withProperty(String key,
String value)
Sets a property of the member.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withRack(String rack)
Sets the rack to which the member belongs.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withReachabilityTimeout(Duration timeout)
Sets the reachability failure timeout.
|
AtomixClusterBuilder |
AtomixClusterBuilder.withZone(String zone)
Sets the zone to which the member belongs.
|
Copyright © 2013–2018. All rights reserved.