ehcache

net.sf.ehcache.transaction
Interface TransactionID

All Superinterfaces:
Serializable
All Known Subinterfaces:
XidTransactionID
All Known Implementing Classes:
TransactionIDImpl, XidTransactionIDImpl

public interface TransactionID
extends Serializable

A transaction identifier. Transaction ID's must be unique to the entire cluster-wide CacheManager.

Author:
Ludovic Orban

Method Summary
 boolean isDecisionCommit()
          Check if this transaction should be committed or not
 void markForCommit()
          Mark that this transaction's decision is commit
 

Method Detail

isDecisionCommit

boolean isDecisionCommit()
Check if this transaction should be committed or not

Returns:
true of the transaction should be committed

markForCommit

void markForCommit()
Mark that this transaction's decision is commit


ehcache

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