Package com.hazelcast.config
Enum OnJoinPermissionOperationName
- All Implemented Interfaces:
Serializable
,Comparable<OnJoinPermissionOperationName>
,java.lang.constant.Constable
public enum OnJoinPermissionOperationName extends Enum<OnJoinPermissionOperationName>
Enum of operation names for handling client permissions when the member is joining into the cluster.
- See Also:
SecurityConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static OnJoinPermissionOperationName
valueOf(String name)
Returns the enum constant of this type with the specified name.static OnJoinPermissionOperationName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RECEIVE
Operation which replaces locally configured permissions by the ones received from cluster. -
SEND
Operation which refreshes cluster permissions with locally specified ones. -
NONE
No-op - neither receives nor sends permissions.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-