Enum Class GridGainEventType
- All Implemented Interfaces:
Serializable,Comparable<GridGainEventType>,Constable
Defines a subset of event types that can be created in the GridGain. Note, the event type is a string that is unique within the system.
The event type is used to filter the events in the event log.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNew license applied event.Detected license expiration event.Detected license violation event.New license rejected event.Detected license violation event.User authorization failure event.User authorized event. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ignite.internal.eventlog.event.EventBuilderbuilder()Creates new event build of this type.org.apache.ignite.internal.eventlog.api.Eventcreate(org.apache.ignite.internal.eventlog.event.EventUser user) Creates an event of this type with current timestamp and specified event user.static voidRegisters all event types through the static initialization block once.static GridGainEventTypeReturns the enum constant of this class with the specified name.static GridGainEventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER_AUTHORIZATION_SUCCESS
User authorized event. -
USER_AUTHORIZATION_FAILURE
User authorization failure event. -
LICENSE_APPLIED
New license applied event. -
LICENSE_REJECTED
New license rejected event. -
LICENSE_EXPIRED
Detected license expiration event. -
LICENSE_VIOLATED
Detected license violation event. -
LICENSE_NODE_REJECTED
Detected license violation event.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
initialize
public static void initialize()Registers all event types through the static initialization block once. -
create
public org.apache.ignite.internal.eventlog.api.Event create(org.apache.ignite.internal.eventlog.event.EventUser user) Creates an event of this type with current timestamp and specified event user.- Parameters:
user- Event user.- Returns:
- Created event.
-
builder
public org.apache.ignite.internal.eventlog.event.EventBuilder builder()Creates new event build of this type.- Returns:
- Created event builder.
-