Class MulticastProperties
java.lang.Object
com.hazelcast.spi.discovery.multicast.MulticastProperties
Defines the name and default value for the Multicast Discovery Strategy.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PropertyDefinition
Property used to define zones for node filtering.static final PropertyDefinition
Property used to define multicast port.static final PropertyDefinition
Property which determines if Java Serialization is used (false
) or rather the safer and portable one (true
). -
Method Summary
-
Field Details
-
PORT
Property used to define multicast port. -
GROUP
Property used to define zones for node filtering. -
SAFE_SERIALIZATION
Property which determines if Java Serialization is used (false
) or rather the safer and portable one (true
). The Java native serialization format which is used by default is sensitive to insecure deserialization attacks. Safe serialization format of the MulticastMemberInfo:boolean (1b): flag if memberInfo provided (false mean memberInfo is null) UTF-8 (variable length): host int: (4b): port
UTF-8 format notes (seeDataOutputStream.writeUTF(String)
): Two bytes (short) provides subsequent length to read. This value is the number of bytes actually, not the length of the string. Modified UTF-8 is used for decoding.- Since:
- 5.1
-