public class MulticastClusterJoinConfig extends Object implements ClusterJoinConfig
ClusterJoinConfig.ClusterJoinType, ClusterJoinConfig.Decoder
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MULTICAST_PORT |
static int |
DEFAULT_MULTICAST_TTL |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getHumanReadableName
public static final int DEFAULT_MULTICAST_TTL
public static final int DEFAULT_MULTICAST_PORT
@Deprecated public static com.atlassian.fugue.Either<Message,MulticastClusterJoinConfig> getForAddress(InetAddress multicastAddress)
createForAddress(InetAddress)
public static io.atlassian.fugue.Either<Message,MulticastClusterJoinConfig> createForAddress(InetAddress multicastAddress)
@Deprecated public static com.atlassian.fugue.Either<Message,MulticastClusterJoinConfig> getForConfig(InetAddress multicastAddress, int multicastTTL, int multicastPort)
createForConfig(InetAddress, int, int)
public static io.atlassian.fugue.Either<Message,MulticastClusterJoinConfig> createForConfig(InetAddress multicastAddress, int multicastTTL, int multicastPort)
public InetAddress getMulticastAddress()
public int getMulticastTTL()
public int getMulticastPort()
public ClusterJoinConfig.ClusterJoinType getType()
getType
in interface ClusterJoinConfig
public void decode(ClusterJoinConfig.Decoder decoder)
ClusterJoinConfig
ClusterJoinConfig.Decoder
callback methods, dependending on our type.decode
in interface ClusterJoinConfig
Copyright © 2003–2023 Atlassian. All rights reserved.