Interface Event<K,V>
- All Known Subinterfaces:
CacheEntriesEvictedEvent<K,,V> CacheEntryActivatedEvent<K,,V> CacheEntryCreatedEvent<K,,V> CacheEntryEvent<K,,V> CacheEntryExpiredEvent<K,,V> CacheEntryInvalidatedEvent<K,,V> CacheEntryLoadedEvent<K,,V> CacheEntryModifiedEvent<K,,V> CacheEntryPassivatedEvent<K,,V> CacheEntryRemovedEvent<K,,V> CacheEntryVisitedEvent<K,,V> DataRehashedEvent<K,,V> PartitionStatusChangedEvent<K,,V> PersistenceAvailabilityChangedEvent<K,,V> TopologyChangedEvent<K,,V> TransactionalEvent<K,,V> TransactionCompletedEvent<K,,V> TransactionRegisteredEvent<K,V>
- All Known Implementing Classes:
ClusterEvent,EventImpl
public interface Event<K,V>
An interface that defines common characteristics of events
- Since:
- 4.0
- Author:
- Manik Surtani
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getType
Event.Type getType()- Returns:
- the type of event represented by this instance.
-
isPre
boolean isPre()- Returns:
- true if the notification is before the event has occurred, false if after the event has occurred.
-
getCache
- Returns:
- a handle to the cache instance that generated this notification.
-