org.tranql.intertxcache
Class NoOpCache

java.lang.Object
  extended by org.tranql.intertxcache.NoOpCache
All Implemented Interfaces:
Cache

public class NoOpCache
extends java.lang.Object
implements Cache

Version:
$Revision: 323 $ $Date: 2006-02-19 07:29:24 +0100 (Sun, 19 Feb 2006) $

Field Summary
static NoOpCache SINGLETON
           
 
Method Summary
 void clean()
           
 boolean get(javax.transaction.Transaction tx, CacheRow target, int[] indices)
           
 CacheRow get(javax.transaction.Transaction tx, GlobalIdentity id)
           
 void put(javax.transaction.Transaction tx, CacheRow row)
           
 void release(GlobalIdentity id)
           
 void remove(javax.transaction.Transaction tx, GlobalIdentity id)
           
 void set(javax.transaction.Transaction tx, CacheRow row, int[] indices)
           
 void transactionEnd(javax.transaction.Transaction tx, int status, java.util.Collection rows)
           
 void transactionStart(javax.transaction.Transaction tx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON

public static final NoOpCache SINGLETON
Method Detail

transactionStart

public void transactionStart(javax.transaction.Transaction tx)
                      throws CacheException
Specified by:
transactionStart in interface Cache
Throws:
CacheException

transactionEnd

public void transactionEnd(javax.transaction.Transaction tx,
                           int status,
                           java.util.Collection rows)
                    throws CacheException
Specified by:
transactionEnd in interface Cache
Throws:
CacheException

put

public void put(javax.transaction.Transaction tx,
                CacheRow row)
         throws CacheException
Specified by:
put in interface Cache
Throws:
CacheException

set

public void set(javax.transaction.Transaction tx,
                CacheRow row,
                int[] indices)
         throws CacheException
Specified by:
set in interface Cache
Throws:
CacheException

get

public CacheRow get(javax.transaction.Transaction tx,
                    GlobalIdentity id)
             throws CacheException
Specified by:
get in interface Cache
Throws:
CacheException

get

public boolean get(javax.transaction.Transaction tx,
                   CacheRow target,
                   int[] indices)
            throws CacheException
Specified by:
get in interface Cache
Throws:
CacheException

remove

public void remove(javax.transaction.Transaction tx,
                   GlobalIdentity id)
            throws CacheException
Specified by:
remove in interface Cache
Throws:
CacheException

release

public void release(GlobalIdentity id)
             throws CacheException
Specified by:
release in interface Cache
Throws:
CacheException

clean

public void clean()
Specified by:
clean in interface Cache


Copyright © -2010 The Codehaus. All Rights Reserved.