Package com.atlassian.confluence.cluster
Class MulticastClusterJoinConfig
java.lang.Object
com.atlassian.confluence.cluster.MulticastClusterJoinConfig
- All Implemented Interfaces:
ClusterJoinConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.confluence.cluster.ClusterJoinConfig
ClusterJoinConfig.ClusterJoinType, ClusterJoinConfig.Decoder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.atlassian.fugue.Either<Message,
MulticastClusterJoinConfig> createForAddress
(InetAddress multicastAddress) static io.atlassian.fugue.Either<Message,
MulticastClusterJoinConfig> createForConfig
(InetAddress multicastAddress, int multicastTTL, int multicastPort) void
decode
(ClusterJoinConfig.Decoder decoder) Executes one of the givenClusterJoinConfig.Decoder
callback methods, dependending on our type.boolean
int
int
getType()
int
hashCode()
toString()
-
Field Details
-
DEFAULT_MULTICAST_TTL
public static final int DEFAULT_MULTICAST_TTL- See Also:
-
DEFAULT_MULTICAST_PORT
public static final int DEFAULT_MULTICAST_PORT
-
-
Method Details
-
createForAddress
public static io.atlassian.fugue.Either<Message,MulticastClusterJoinConfig> createForAddress(InetAddress multicastAddress) - Since:
- 7.0.1
-
createForConfig
public static io.atlassian.fugue.Either<Message,MulticastClusterJoinConfig> createForConfig(InetAddress multicastAddress, int multicastTTL, int multicastPort) - Since:
- 7.0.1
-
getMulticastAddress
-
getMulticastTTL
public int getMulticastTTL() -
getMulticastPort
public int getMulticastPort() -
getType
- Specified by:
getType
in interfaceClusterJoinConfig
-
decode
Description copied from interface:ClusterJoinConfig
Executes one of the givenClusterJoinConfig.Decoder
callback methods, dependending on our type.- Specified by:
decode
in interfaceClusterJoinConfig
-
toString
-
equals
-
hashCode
public int hashCode()
-