Interface TransactionCompletedEvent<K,V>
- All Superinterfaces:
Event<K,
,V> TransactionalEvent<K,
V>
- All Known Implementing Classes:
EventImpl
This event is passed in to any method annotated with
TransactionCompleted
.
Note that this event is only delivered after the fact, i.e., you will never see an instance of this event with
Event.isPre()
being set to true.- Since:
- 4.0
- Author:
- Manik Surtani
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.notifications.cachelistener.event.Event
Event.Type
-
Method Summary
Methods inherited from interface org.infinispan.notifications.cachelistener.event.Event
getCache, getType, isPre
Methods inherited from interface org.infinispan.notifications.cachelistener.event.TransactionalEvent
getGlobalTransaction, isOriginLocal
-
Method Details
-
isTransactionSuccessful
boolean isTransactionSuccessful()- Returns:
- if true, the transaction completed by committing successfully. If false, the transaction completed with a rollback.
-