クラス org.objectweb.cjdbc.controller.cache.result.CacheBehavior

org.objectweb.cjdbc.controller.cache.result.CacheBehaviorに対する継承グラフ

Inheritance graph
[凡例]
すべてのメンバ一覧

説明

Abstract class for the different cache actions. We need this class for adding versatility in the parameters of each Caching action.

作者:
Nicolas Modrzyk

Emmanuel Cecchet

バージョン:
1.0

CacheBehavior.java41 行で定義されています。

Public メソッド

String getType ()
abstract CacheEntry getCacheEntry (SelectRequest sqlQuery, ControllerResultSet result, AbstractResultCache cache)
abstract String getXml ()

Protected メソッド

 CacheBehavior ()

変数

Trace logger = Trace.getLogger(CacheBehavior.class.getName())


コンストラクタとデストラクタ

org.objectweb.cjdbc.controller.cache.result.CacheBehavior.CacheBehavior  )  [protected]
 

CacheBehavior.java45 行で定義されています。

参照先 org.objectweb.cjdbc.controller.cache.result.CacheBehavior.getType(), と org.objectweb.cjdbc.controller.cache.result.CacheBehavior.logger.

00046 { 00047 logger.debug(Translate.get("cachebehavior.new.action", getType())); 00048 }


メソッド

abstract CacheEntry org.objectweb.cjdbc.controller.cache.result.CacheBehavior.getCacheEntry SelectRequest  sqlQuery,
ControllerResultSet  result,
AbstractResultCache  cache
[pure virtual]
 

Builds a cache entry from a SelectRequest and a ControllerResultSet. This cache entry can then be inserted in the cache.

引数:
sqlQuery entry to add in the cache
result value to add in the cache
cache reference for EagerCaching in case the entry needs to remove itself from the cache.
戻り値:
the query cache entry to add to the cache

org.objectweb.cjdbc.controller.cache.result.rules.EagerCaching, org.objectweb.cjdbc.controller.cache.result.rules.NoCaching, と org.objectweb.cjdbc.controller.cache.result.rules.RelaxedCachingで実装されています.

参照元 org.objectweb.cjdbc.controller.cache.result.ResultCache.addToCache().

String org.objectweb.cjdbc.controller.cache.result.CacheBehavior.getType  ) 
 

The name of the class instance

戻り値:
class name of the current type
CacheBehavior.java55 行で定義されています。

参照元 org.objectweb.cjdbc.controller.cache.result.CacheBehavior.CacheBehavior(), と org.objectweb.cjdbc.controller.cache.result.ResultCache.getCacheBehavior().

00056 { 00057 return this.getClass().getName(); 00058 }

abstract String org.objectweb.cjdbc.controller.cache.result.CacheBehavior.getXml  )  [pure virtual]
 

Implementation specific xml dump of the cache behavior.

戻り値:
xml dump of the cache behavior
参照:
org.objectweb.cjdbc.common.xml.XmlComponent.getXml()

org.objectweb.cjdbc.controller.cache.result.rules.EagerCaching, org.objectweb.cjdbc.controller.cache.result.rules.NoCaching, と org.objectweb.cjdbc.controller.cache.result.rules.RelaxedCachingで実装されています.

参照元 org.objectweb.cjdbc.controller.cache.result.ResultCacheRule.getXml().


変数

Trace org.objectweb.cjdbc.controller.cache.result.CacheBehavior.logger = Trace.getLogger(CacheBehavior.class.getName()) [package]
 

CacheBehavior.java43 行で定義されています。

参照元 org.objectweb.cjdbc.controller.cache.result.CacheBehavior.CacheBehavior().


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.4に対してTue Oct 12 15:16:36 2004に生成されました。 doxygen 1.3.8