Class MulticastProperties
- java.lang.Object
-
- com.hazelcast.spi.discovery.multicast.MulticastProperties
-
public final class MulticastProperties extends java.lang.Object
Defines the name and default value for the Multicast Discovery Strategy.
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyDefinition
GROUP
Property used to define zones for node filtering.static PropertyDefinition
PORT
Property used to define multicast port.static PropertyDefinition
SAFE_SERIALIZATION
Property which determines if Java Serialization is used (false
) or rather the safer and portable one (true
).
-
-
-
Field Detail
-
PORT
public static final PropertyDefinition PORT
Property used to define multicast port.
-
GROUP
public static final PropertyDefinition GROUP
Property used to define zones for node filtering.
-
SAFE_SERIALIZATION
public static final PropertyDefinition 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
-
-