public enum ItemEventType extends Enum<ItemEventType>
Enum Constant and Description |
---|
ADDED
Fired when an item is added.
|
REMOVED
Fired when an item is removed.
|
Modifier and Type | Method and Description |
---|---|
static ItemEventType |
getByType(int eventType) |
int |
getType() |
static ItemEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemEventType ADDED
public static final ItemEventType REMOVED
public static ItemEventType[] values()
for (ItemEventType c : ItemEventType.values()) System.out.println(c);
public static ItemEventType 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 int getType()
public static ItemEventType getByType(int eventType)
Copyright © 2023 Hazelcast, Inc.. All rights reserved.