ehcache

net.sf.ehcache.transaction.xa
Interface XidTransactionID

All Superinterfaces:
Serializable, TransactionID
All Known Implementing Classes:
XidTransactionIDImpl

public interface XidTransactionID
extends TransactionID

A special TransactionID using a XID internally

Author:
Ludovic Orban

Method Summary
 Xid getXid()
          Get the XID of this transaction ID
 boolean isDecisionRollback()
          Check if this transaction ID has been marked for rollback
 void markForRollback()
          Mark this transaction ID for rollback
 
Methods inherited from interface net.sf.ehcache.transaction.TransactionID
isDecisionCommit, markForCommit
 

Method Detail

getXid

Xid getXid()
Get the XID of this transaction ID

Returns:
the XID

markForRollback

void markForRollback()
Mark this transaction ID for rollback


isDecisionRollback

boolean isDecisionRollback()
Check if this transaction ID has been marked for rollback

Returns:
true if this ID has been marked for rollback, false otherwise

ehcache

Copyright © 2003-2012 Terracotta, Inc.. All Rights Reserved.