org.pm4j.core.pm.impl.cache
Class PmCacheStrategySession

java.lang.Object
  extended by org.pm4j.core.pm.impl.cache.PmCacheStrategyBase<PmObject>
      extended by org.pm4j.core.pm.impl.cache.PmCacheStrategySession
All Implemented Interfaces:
PmCacheStrategy

public class PmCacheStrategySession
extends PmCacheStrategyBase<PmObject>


Field Summary
 
Fields inherited from interface org.pm4j.core.pm.impl.cache.PmCacheStrategy
NO_CACHE_VALUE, NULL_VALUE_OBJECT
 
Constructor Summary
PmCacheStrategySession(java.lang.String cacheName, java.lang.String cacheVarKeyPfx)
           
 
Method Summary
protected  void clearImpl(PmObject pm)
           
protected  java.lang.Object readRawValue(PmObject pm)
           
protected  void writeRawValue(PmObject pm, java.lang.Object value)
           
 
Methods inherited from class org.pm4j.core.pm.impl.cache.PmCacheStrategyBase
clear, getCachedValue, isCaching, logPmCacheHit, logPmCacheInit, setAndReturnCachedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmCacheStrategySession

public PmCacheStrategySession(java.lang.String cacheName,
                              java.lang.String cacheVarKeyPfx)
Method Detail

readRawValue

protected java.lang.Object readRawValue(PmObject pm)
Specified by:
readRawValue in class PmCacheStrategyBase<PmObject>

writeRawValue

protected void writeRawValue(PmObject pm,
                             java.lang.Object value)
Specified by:
writeRawValue in class PmCacheStrategyBase<PmObject>

clearImpl

protected void clearImpl(PmObject pm)
Specified by:
clearImpl in class PmCacheStrategyBase<PmObject>