org.norther.tammi.root.ojb.cache
Class TwoLevelLocalCache

java.lang.Object
  extended by org.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl
      extended by org.norther.tammi.root.ojb.cache.TwoLevelLocalCache
All Implemented Interfaces:
ObjectCache, ObjectCacheInternal, PBListener, PBStateListener

public class TwoLevelLocalCache
extends ObjectCacheTwoLevelImpl

An extended two level local object cache for variables.

Version:
$Id: TwoLevelLocalCache.java,v 1.5 2009/09/28 15:08:34 cvsimp Exp $
Author:
Ilkka Priha

Nested Class Summary
static class TwoLevelLocalCache.VariableCopyStrategy
          A variable copy strategy for the two level cache.
 
Nested classes/interfaces inherited from class org.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl
ObjectCacheTwoLevelImpl.CopyStrategy, ObjectCacheTwoLevelImpl.CopyStrategyImpl
 
Field Summary
 
Fields inherited from class org.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl
APPLICATION_CACHE_PROP, COPY_STRATEGY_PROP, FORCE_PROXIES
 
Fields inherited from interface org.apache.ojb.broker.cache.ObjectCacheInternal
TYPE_CACHED_READ, TYPE_NEW_MATERIALIZED, TYPE_TEMP, TYPE_UNKNOWN, TYPE_WRITE
 
Constructor Summary
TwoLevelLocalCache(PersistenceBroker pb, Properties prop)
          Constructs a new cache.
 
Method Summary
 
Methods inherited from class org.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl
afterBegin, afterCommit, afterOpen, afterRollback, beforeBegin, beforeClose, beforeCommit, beforeRollback, cache, cacheIfNew, clear, doInternalCache, getApplicationCache, getBroker, lookup, materializeFullObject, remove, resetSessionCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoLevelLocalCache

public TwoLevelLocalCache(PersistenceBroker pb,
                          Properties prop)
Constructs a new cache.

Parameters:
pb - the broker.
prop - the properties.


Copyright © 2004 The Norther Organization. All rights reserved.