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
- Alphabetic
- By Inheritance
- CacheEventArg
- EventArg
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CacheEventArg(internalArgs: NcCacheEventArg)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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.
-
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
- CacheEventArg → EventArg
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
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
- CacheEventArg → EventArg
-
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
- CacheEventArg → EventArg
-
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
- CacheEventArg → EventArg
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated