Enum EntryEventType

java.lang.Object
java.lang.Enum<EntryEventType>
com.hazelcast.core.EntryEventType
All Implemented Interfaces:
Serializable, Comparable<EntryEventType>, java.lang.constant.Constable

public enum EntryEventType
extends Enum<EntryEventType>
Type of entry event.
  • Enum Constant Details

    • ADDED

      public static final EntryEventType ADDED
      Fired if an entry is added.
    • REMOVED

      public static final EntryEventType REMOVED
      Fired if an entry is removed.
    • UPDATED

      public static final EntryEventType UPDATED
      Fired if an entry is updated.
    • EVICTED

      public static final EntryEventType EVICTED
      Fired if an entry is evicted.
    • EXPIRED

      public static final EntryEventType EXPIRED
      Fired if an entry is expired.
    • EVICT_ALL

      public static final EntryEventType EVICT_ALL
      Fired if all entries are evicted.
    • CLEAR_ALL

      public static final EntryEventType CLEAR_ALL
      Fired if all entries are cleared.
    • MERGED

      public static final EntryEventType MERGED
      Fired if an entry is merged after a network partition.
    • INVALIDATION

      public static final EntryEventType INVALIDATION
      Fired if an entry is invalidated.
    • LOADED

      public static final EntryEventType LOADED
      Fired if an entry is loaded.
  • Method Details

    • values

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

      public static EntryEventType valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • getType

      public int getType()
      Returns:
      the event type ID
    • getByType

      public static EntryEventType getByType​(int typeId)
      Returns:
      the matching EntryEventType for the supplied typeId or null if there is no match