Package com.atlassian.confluence.cluster
Class TCPIPClusterJoinConfig
- java.lang.Object
-
- com.atlassian.confluence.cluster.TCPIPClusterJoinConfig
-
- All Implemented Interfaces:
ClusterJoinConfig
public class TCPIPClusterJoinConfig extends Object implements ClusterJoinConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.cluster.ClusterJoinConfig
ClusterJoinConfig.ClusterJoinType, ClusterJoinConfig.Decoder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.atlassian.fugue.Either<Message,TCPIPClusterJoinConfig>createForPeers(String peerAddressString)static io.atlassian.fugue.Either<Message,TCPIPClusterJoinConfig>createForPeers(List<String> peerAddresses)voiddecode(ClusterJoinConfig.Decoder decoder)Executes one of the givenClusterJoinConfig.Decodercallback methods, dependending on our type.booleanequals(Object o)List<String>getPeerAddresses()StringgetPeerAddressString()ClusterJoinConfig.ClusterJoinTypegetType()inthashCode()StringtoString()
-
-
-
Method Detail
-
createForPeers
public static io.atlassian.fugue.Either<Message,TCPIPClusterJoinConfig> createForPeers(String peerAddressString)
- Since:
- 7.0.1
-
createForPeers
public static io.atlassian.fugue.Either<Message,TCPIPClusterJoinConfig> createForPeers(List<String> peerAddresses)
- Since:
- 7.0.1
-
getType
public ClusterJoinConfig.ClusterJoinType getType()
- Specified by:
getTypein interfaceClusterJoinConfig
-
decode
public void decode(ClusterJoinConfig.Decoder decoder)
Description copied from interface:ClusterJoinConfigExecutes one of the givenClusterJoinConfig.Decodercallback methods, dependending on our type.- Specified by:
decodein interfaceClusterJoinConfig
-
getPeerAddressString
public String getPeerAddressString()
-
-