public static enum CPMembershipEvent.EventType extends Enum<CPMembershipEvent.EventType>
| Enum Constant and Description | 
|---|
| ADDEDEvent type fired when a new CP member is added to the CP Subsystem. | 
| REMOVEDEvent type fired when a CP member is removed from the CP Subsystem. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte | id() | 
| static CPMembershipEvent.EventType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static CPMembershipEvent.EventType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final CPMembershipEvent.EventType ADDED
public static final CPMembershipEvent.EventType REMOVED
public static CPMembershipEvent.EventType[] values()
for (CPMembershipEvent.EventType c : CPMembershipEvent.EventType.values()) System.out.println(c);
public static CPMembershipEvent.EventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte id()
Copyright © 2022 Hazelcast, Inc.. All rights reserved.