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

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

public class PmCacheStrategyRequest
extends PmCacheStrategyBase<PmObjectBase>


Field Summary
 
Fields inherited from interface org.pm4j.core.pm.impl.cache.PmCacheStrategy
NO_CACHE_VALUE, NULL_VALUE_OBJECT
 
Constructor Summary
PmCacheStrategyRequest(java.lang.String cacheName, java.lang.String cacheVarKeyPfx)
           
 
Method Summary
protected  void clearImpl(PmObjectBase pm)
           
protected  java.lang.Object readRawValue(PmObjectBase pm)
           
protected  void writeRawValue(PmObjectBase 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

PmCacheStrategyRequest

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

readRawValue

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

writeRawValue

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

clearImpl

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