org.jboss.cache.notifications.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:
2.0.0
Author:
Manik Surtani

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.cache.notifications.event.Event
Event.Type
 
Method Summary
 boolean isSuccessful()
           
 
Methods inherited from interface org.jboss.cache.notifications.event.TransactionalEvent
getTransaction, isOriginLocal
 
Methods inherited from interface org.jboss.cache.notifications.event.Event
getCache, getType, isPre
 

Method Detail

isSuccessful

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


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