Enum EntryEvent.Type

    • Enum Constant Detail

      • 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 Detail

      • values

        public static EntryEvent.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EntryEvent.Type c : EntryEvent.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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