com.caucho.server.distcache
Class AbstractCacheBackupEngine
java.lang.Object
com.caucho.server.distcache.AbstractCacheBackupEngine
- All Implemented Interfaces:
- CacheBackupEngine
public class AbstractCacheBackupEngine
- extends java.lang.Object
- implements CacheBackupEngine
Backup for the distributed cache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCacheBackupEngine
public AbstractCacheBackupEngine()
start
public void start()
- Description copied from interface:
CacheBackupEngine
- Starts the service
- Specified by:
start
in interface CacheBackupEngine
get
public MnodeValue get(DistCacheEntry entry)
- Specified by:
get
in interface CacheBackupEngine
put
public void put(byte[] key,
byte[] cacheHash,
MnodeUpdate mnodeUpdate,
StreamSource valueStream)
- Specified by:
put
in interface CacheBackupEngine
updateTime
public void updateTime(byte[] key,
MnodeEntry mnodeValue)
- Specified by:
updateTime
in interface CacheBackupEngine
remove
public void remove(byte[] key,
byte[] cacheHash,
MnodeUpdate mnodeUpdate)
- Specified by:
remove
in interface CacheBackupEngine