com.caucho.memcached
Class MemcachedCacheEngine

java.lang.Object
  extended by com.caucho.server.distcache.AbstractCacheEngine
      extended by com.caucho.memcached.MemcachedCacheEngine
All Implemented Interfaces:
CacheEngine

public class MemcachedCacheEngine
extends AbstractCacheEngine

Custom serialization for the cache


Method Summary
 MnodeValue get(DistCacheEntry entry)
           
 void put(HashKey hashKey, HashKey cacheKey, MnodeUpdate mnodeUpdate, long valueDataId)
           
 void remove(HashKey hashKey, HashKey cacheKey, MnodeUpdate mnodeUpdate)
           
 
Methods inherited from class com.caucho.server.distcache.AbstractCacheEngine
compareAndPut, getAndPut, getServerIndex, initCache, isLocalExpired, notifyLease, start, updateTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public MnodeValue get(DistCacheEntry entry)
Specified by:
get in interface CacheEngine
Overrides:
get in class AbstractCacheEngine

put

public void put(HashKey hashKey,
                HashKey cacheKey,
                MnodeUpdate mnodeUpdate,
                long valueDataId)
Specified by:
put in interface CacheEngine
Overrides:
put in class AbstractCacheEngine

remove

public void remove(HashKey hashKey,
                   HashKey cacheKey,
                   MnodeUpdate mnodeUpdate)
Specified by:
remove in interface CacheEngine
Overrides:
remove in class AbstractCacheEngine