org.tranql.intertxcache
Class FrontEndToCacheAdaptor

java.lang.Object
  extended byorg.tranql.intertxcache.FrontEndToCacheAdaptor
All Implemented Interfaces:
FrontEndCache

public class FrontEndToCacheAdaptor
extends java.lang.Object
implements FrontEndCache

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

Constructor Summary
FrontEndToCacheAdaptor(javax.transaction.TransactionManager tm, Cache cache)
           
 
Method Summary
 boolean get(CacheRow target, int[] indices)
           
 CacheRow get(GlobalIdentity id)
           
 void put(CacheRow row)
           
 void remove(GlobalIdentity id)
           
 void set(CacheRow row, int[] indices)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrontEndToCacheAdaptor

public FrontEndToCacheAdaptor(javax.transaction.TransactionManager tm,
                              Cache cache)
Method Detail

put

public void put(CacheRow row)
         throws CacheException
Specified by:
put in interface FrontEndCache
Throws:
CacheException

set

public void set(CacheRow row,
                int[] indices)
         throws CacheException
Specified by:
set in interface FrontEndCache
Throws:
CacheException

get

public CacheRow get(GlobalIdentity id)
             throws CacheException
Specified by:
get in interface FrontEndCache
Throws:
CacheException

get

public boolean get(CacheRow target,
                   int[] indices)
            throws CacheException
Specified by:
get in interface FrontEndCache
Throws:
CacheException

remove

public void remove(GlobalIdentity id)
            throws CacheException
Specified by:
remove in interface FrontEndCache
Throws:
CacheException


Copyright © -2006 The Codehaus. All Rights Reserved.