com.voidsearch.voidbase.apps.cache.module.distributed
Class DistributedPersistenceStore
java.lang.Object
com.voidsearch.voidbase.apps.cache.VoidBaseCache
com.voidsearch.voidbase.apps.cache.module.distributed.DistributedPersistenceStore
- All Implemented Interfaces:
- VoidBaseCacheHandler, java.lang.Cloneable
public class DistributedPersistenceStore
- extends VoidBaseCache
|
Method Summary |
protected void |
delete(java.lang.String key)
|
protected void |
flush()
|
protected CacheValue |
get(java.lang.String key)
|
static DistributedPersistenceStore |
getInstance()
Creates a new instance of a DistributedPersistenceStore |
CacheValue |
process(java.lang.String method,
java.util.List<java.lang.String> route,
java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String key,
java.lang.String value)
Processes cache requests |
CacheValue |
process(java.lang.String method,
java.lang.String name,
java.lang.String key,
java.lang.String value)
|
protected void |
put(java.lang.String key,
java.lang.String value)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static DistributedPersistenceStore instance
DistributedPersistenceStore
public DistributedPersistenceStore()
throws CacheException
- Creates a new instance of a DistributedPersistenceStore
- Throws:
CacheException
getInstance
public static DistributedPersistenceStore getInstance()
throws CacheException
- Creates a new instance of a DistributedPersistenceStore
- Returns:
- a DistributedPersistenceStore instance
- Throws:
CacheException
process
public CacheValue process(java.lang.String method,
java.util.List<java.lang.String> route,
java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String key,
java.lang.String value)
throws CacheException
- Processes cache requests
- Parameters:
method - route - params - key - value -
- Returns:
- a result of cache request operation
- Throws:
CacheException
process
public CacheValue process(java.lang.String method,
java.lang.String name,
java.lang.String key,
java.lang.String value)
throws CacheException
- Throws:
CacheException
put
protected void put(java.lang.String key,
java.lang.String value)
throws CacheException
- Throws:
CacheException
get
protected CacheValue get(java.lang.String key)
throws CacheException
- Throws:
CacheException
delete
protected void delete(java.lang.String key)
throws CacheException
- Throws:
CacheException
flush
protected void flush()
throws CacheException
- Throws:
CacheException
Copyright © 2009. All Rights Reserved.