org.infinispan.notifications.cachelistener.event
Interface TransactionCompletedEvent<K,V>

All Superinterfaces:
Event<K,V>, TransactionalEvent<K,V>
All Known Implementing Classes:
EventImpl

public interface TransactionCompletedEvent<K,V>
extends TransactionalEvent<K,V>

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
 boolean isTransactionSuccessful()
           
 
Methods inherited from interface org.infinispan.notifications.cachelistener.event.TransactionalEvent
getGlobalTransaction, isOriginLocal
 
Methods inherited from interface org.infinispan.notifications.cachelistener.event.Event
getCache, getType, isPre
 

Method Detail

isTransactionSuccessful

boolean isTransactionSuccessful()
Returns:
if true, the transaction completed by committing successfully. If false, the transaction completed with a rollback.

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.