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)
void
decode(ClusterJoinConfig.Decoder decoder)
Executes one of the givenClusterJoinConfig.Decoder
callback methods, dependending on our type.boolean
equals(Object o)
List<String>
getPeerAddresses()
String
getPeerAddressString()
ClusterJoinConfig.ClusterJoinType
getType()
int
hashCode()
String
toString()
-
-
-
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:
getType
in interfaceClusterJoinConfig
-
decode
public void decode(ClusterJoinConfig.Decoder decoder)
Description copied from interface:ClusterJoinConfig
Executes one of the givenClusterJoinConfig.Decoder
callback methods, dependending on our type.- Specified by:
decode
in interfaceClusterJoinConfig
-
getPeerAddressString
public String getPeerAddressString()
-
-