class CacheEventArg extends EventArg

This object is received when an event is raised and listener CacheDataModificationListener is executed CacheEventArg contains necessary information to identify the event and perform necessary actions accordingly. This class is consistent for both selective and general events

Linear Supertypes
EventArg, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CacheEventArg
  2. EventArg
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CacheEventArg(internalArgs: NcCacheEventArg)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def getCacheItemRemovedReason: CacheItemRemovedReason

    Only applicable for EventType.ItemRemove Otherwise default value is DependencyChanged.

    Only applicable for EventType.ItemRemove Otherwise default value is DependencyChanged.

    returns

    The CacheItemRemovedReason enum.

  9. def getCacheName: String

    Name of the cache the event is raised against.

    Name of the cache the event is raised against.

    returns

    The name of the cache.

    Definition Classes
    CacheEventArgEventArg
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def getDescriptor: CacheEventDescriptor

    Only applicable for general events otherwise it will be null.

    Only applicable for general events otherwise it will be null.

    returns

    The descriptor associated with the cache event args.

  12. def getEventType: EventType

    Event Type the event is raised against.

    Event Type the event is raised against.

    returns

    The event type associated with the EventArgs.

    Definition Classes
    CacheEventArgEventArg
  13. def getItem: EventCacheItem

    Contains the item if the event was registered against EventDataFilter.Metadata or EventDataFilter.DataWithMetadata

    Contains the item if the event was registered against EventDataFilter.Metadata or EventDataFilter.DataWithMetadata

    returns

    The EventCacheItem instance.

    Definition Classes
    CacheEventArgEventArg
  14. def getOldItem: EventCacheItem

    Only applicable for EventType.ItemUpdated.

    Only applicable for EventType.ItemUpdated. Otherwise it will be null.

    returns

    The value of the item before updation.

    Definition Classes
    CacheEventArgEventArg
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from EventArg

Inherited from AnyRef

Inherited from Any

Ungrouped