Enum Class WanFilterEventType

java.lang.Object
java.lang.Enum<WanFilterEventType>
com.hazelcast.enterprise.wan.WanFilterEventType
All Implemented Interfaces:
Serializable, Comparable<WanFilterEventType>, Constable

public enum WanFilterEventType extends Enum<WanFilterEventType>
Event types to be used by CacheWanEventFilter and MapWanEventFilter instances.
  • Enum Constant Details

    • UPDATED

      public static final WanFilterEventType UPDATED
      An event type indicating that the related entry was created or updated.
    • REMOVED

      public static final WanFilterEventType REMOVED
      An event type indicating that the entry was removed.
    • LOADED

      public static final WanFilterEventType LOADED
      An event type indicating that the entry was loaded. Loading happens through MapLoader's load() and loadAll() methods which can occur on read-through but also on bulk load.
  • Method Details

    • values

      public static WanFilterEventType[] 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 WanFilterEventType 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
    • getType

      public int getType()
      Returns:
      unique ID of the event type