org.infinispan.notifications.cachelistener.event
Interface TransactionCompletedEvent

All Superinterfaces:
Event, TransactionalEvent
All Known Implementing Classes:
EventImpl

public interface TransactionCompletedEvent
extends TransactionalEvent

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.

Google Analytics

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