Enum Class GridGainEventType

java.lang.Object
java.lang.Enum<GridGainEventType>
org.gridgain.internal.eventlog.api.GridGainEventType
All Implemented Interfaces:
Serializable, Comparable<GridGainEventType>, Constable

public enum GridGainEventType extends Enum<GridGainEventType>
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.
  • Enum Constant Details

    • USER_AUTHORIZATION_SUCCESS

      public static final GridGainEventType USER_AUTHORIZATION_SUCCESS
      User authorized event.
    • USER_AUTHORIZATION_FAILURE

      public static final GridGainEventType USER_AUTHORIZATION_FAILURE
      User authorization failure event.
    • LICENSE_APPLIED

      public static final GridGainEventType LICENSE_APPLIED
      New license applied event.
    • LICENSE_REJECTED

      public static final GridGainEventType LICENSE_REJECTED
      New license rejected event.
    • LICENSE_EXPIRED

      public static final GridGainEventType LICENSE_EXPIRED
      Detected license expiration event.
    • LICENSE_VIOLATED

      public static final GridGainEventType LICENSE_VIOLATED
      Detected license violation event.
    • LICENSE_NODE_REJECTED

      public static final GridGainEventType LICENSE_NODE_REJECTED
      Detected license violation event.
  • Method Details

    • values

      public static GridGainEventType[] 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

      public static GridGainEventType valueOf(String name)
      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 name
      NullPointerException - 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.