io.sarl.sre.janus.network.boot.configs
Enumeration JoinMethod
All Superinterfaces:
java.io.Serializable, java.lang.Comparable<T>, java.lang.constant.Constable
final enum JoinMethod
extends java.lang.Object
Type of hazelcast join.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.network
Since:
0.12
Enumeration Constant Summary
Constant and description
MULTICAST
Multicast is used for joining the Hazelcast cluster.
TCP_IP
TCP/IP messages are used for joining the Hazelcast cluster.
Action Summary
Modifier and type Action and description
static JoinMethod getDefault
Replies the default type of event bus.
static java.lang.String getJsonLabels
Replies the Json labels for the types of event bus.
java.lang.String toJsonString
Replies the Json string representation of this type.
static JoinMethod valueOf(String)
static JoinMethod valueOfCaseInsensitive(String)
Parse the given case insensitive string for obtaining the type.
static JoinMethod values
Enumeration Constant Details
MULTICAST
static val MULTICAST : JoinMethod
Multicast is used for joining the Hazelcast cluster.
TCP_IP
static val TCP_IP : JoinMethod
TCP/IP messages are used for joining the Hazelcast cluster.
Action Details
getDefault
def getDefault : JoinMethod
Replies the default type of event bus.
Returns:
the default type.
getJsonLabels
def getJsonLabels : java.lang.String
Replies the Json labels for the types of event bus.
Returns:
the labels.
toJsonString
def toJsonString : java.lang.String
Replies the Json string representation of this type.
Returns:
the Json string representation.
valueOf(String)
def valueOf(String) : JoinMethod
valueOfCaseInsensitive(String)
def valueOfCaseInsensitive(String) : JoinMethod
Parse the given case insensitive string for obtaining the type.
Parameters:
name - the string to parse.
Returns:
the type.
Throws exception:
  • java.lang.NullPointerException: when the specified name is null
values
def values : JoinMethod