|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.voidsearch.voidbase.apps.cache.VoidBaseCache
public abstract class VoidBaseCache
Abstract class as an prototype for all cache handhers, handles initialization of atomicity and cache handler operation subscriptions based on configuration.
| Field Summary | |
|---|---|
protected VoidBaseConfig |
config
|
protected static org.slf4j.Logger |
logger
|
protected java.lang.String |
name
|
protected RegisteredOperations |
operations
|
| Constructor Summary | |
|---|---|
VoidBaseCache()
Creates a new instance of VoidBaseCache |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones a VoidBaseCache object |
static VoidBaseCache |
getInstance()
Not implemented for VoidBaseCache - needs to be implemented in subclasses |
CacheLockType |
getLockType(java.lang.String operation)
Returns lock type for operation |
void |
initialize()
Initializes cache operations and their atomicity |
java.lang.Boolean |
isRegistered(java.lang.String operation)
Check if operation is registered |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.voidsearch.voidbase.apps.cache.VoidBaseCacheHandler |
|---|
process, process |
| Field Detail |
|---|
protected java.lang.String name
protected VoidBaseConfig config
protected RegisteredOperations operations
protected static final org.slf4j.Logger logger
| Constructor Detail |
|---|
public VoidBaseCache()
throws CacheException
CacheException| Method Detail |
|---|
public static VoidBaseCache getInstance()
throws CacheException
CacheException
public void initialize()
throws CacheException
CacheExceptionpublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.Boolean isRegistered(java.lang.String operation)
operation -
true if operation is registered and false if it's notpublic CacheLockType getLockType(java.lang.String operation)
operation -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||