Enum Class EntryEvent.Type

java.lang.Object
java.lang.Enum<EntryEvent.Type>
com.tangosol.net.events.partition.cache.EntryEvent.Type
All Implemented Interfaces:
Serializable, Comparable<EntryEvent.Type>, Constable
Enclosing interface:
EntryEvent<K,V>

public static enum EntryEvent.Type extends Enum<EntryEvent.Type>
The EntryEvent types.
  • Enum Constant Details

    • INSERTING

      public static final EntryEvent.Type INSERTING
      This EntryEvent is dispatched before one or more BinaryEntry(s) are inserted into the backing-map.

      The following holds:

      • The BinaryEntry(s) provided for this event type are mutable
      • A lock will be held for each entry during the processing of this event, preventing concurrent updates
      • Throwing an exception from this event will prevent the operation from being committed
    • INSERTED

      public static final EntryEvent.Type INSERTED
      This EntryEvent is dispatched after one or more BinaryEntry(s) have been inserted into the backing-map. This event is raised after the insert has been committed. The BinaryEntry(s) provided for this event type are immutable. For a given BinaryEntry, events will be raised in the same order as the changes occurred.
    • UPDATING

      public static final EntryEvent.Type UPDATING
      This EntryEvent is dispatched before a BinaryEntry is updated in backing-map.

      The following holds:

      • The BinaryEntry provided for this event type is mutable
      • A lock will be held for each Entry during the processing of this event preventing concurrent updates
      • Throwing an exception from this type of event will prevent the operation from being committed
    • UPDATED

      public static final EntryEvent.Type UPDATED
      This EntryEvent is dispatched after one or more BinaryEntry(s) have been updated in the backing-map. This event is raised after the update has been committed. The BinaryEntry(s) provided for this event type are immutable. For a given BinaryEntry, events will be raised in the same order as the changes occurred.
    • REMOVING

      public static final EntryEvent.Type REMOVING
      This EntryEvent is dispatched before a BinaryEntry has been removed from backing-map.

      The following holds:

      • The BinaryEntry provided for this event type is mutable
      • A lock will be held for each Entry during the processing of this event preventing concurrent updates
      • Throwing an exception from this type of event will prevent the operation from being committed
    • REMOVED

      public static final EntryEvent.Type REMOVED
      This EntryEvent is dispatched after one or more BinaryEntry(s) have been removed from the backing-map. This event is raised after the removal has been committed. The BinaryEntry(s) provided for this event type are immutable. For a given BinaryEntry, events will be raised in the same order as the changes occurred.
  • Method Details

    • values

      public static EntryEvent.Type[] 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 EntryEvent.Type 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