| Package | Description |
|---|---|
| io.scalecube.cluster |
| Modifier and Type | Method and Description |
|---|---|
ClusterConfig |
ClusterConfig.clone() |
static ClusterConfig |
ClusterConfig.defaultConfig() |
static ClusterConfig |
ClusterConfig.defaultLanConfig()
Creates
ClusterConfig with default settings for cluster on LAN network. |
static ClusterConfig |
ClusterConfig.defaultLocalConfig()
Creates
MembershipConfig with default settings for cluster on local loopback interface. |
static ClusterConfig |
ClusterConfig.defaultWanConfig()
Creates
ClusterConfig with default settings for cluster on WAN network. |
ClusterConfig |
ClusterConfig.externalHost(String externalHost)
Setter for externalHost.
|
ClusterConfig |
ClusterConfig.externalPort(Integer externalPort)
Setter for externalPort.
|
ClusterConfig |
ClusterConfig.failureDetector(UnaryOperator<FailureDetectorConfig> op)
Applies
FailureDetectorConfig settings. |
ClusterConfig |
ClusterConfig.gossip(UnaryOperator<GossipConfig> op)
Applies
GossipConfig settings. |
ClusterConfig |
ClusterConfig.memberAlias(String memberAlias)
Setter for memberAlias.
|
ClusterConfig |
ClusterConfig.membership(UnaryOperator<MembershipConfig> op)
Applies
MembershipConfig settings. |
ClusterConfig |
ClusterConfig.metadata(Object metadata)
Setter for metadata.
|
ClusterConfig |
ClusterConfig.metadataCodec(MetadataCodec metadataCodec)
Setter for metadataCodec.
|
ClusterConfig |
ClusterConfig.metadataTimeout(int metadataTimeout)
Setter for metadataTimeout.
|
ClusterConfig |
ClusterConfig.transport(UnaryOperator<TransportConfig> op)
Applies
TransportConfig settings. |
Copyright © 2015–2021. All rights reserved.