|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.voidsearch.voidbase.apps.cache.containers.RegisteredOperations
public class RegisteredOperations
Container of all registered operations and their behavior and locking for certain Cache handler
| Field Summary | |
|---|---|
protected java.util.HashMap<java.lang.String,CacheOperation> |
registeredOperations
|
| Constructor Summary | |
|---|---|
RegisteredOperations()
Creates a new instance of a RegisteredOperations |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
contains(java.lang.String key)
Verifies if operation is registered |
CacheOperation |
get(java.lang.String key)
Gets CacheOperation from registeredOperations container |
CacheLockType |
getLockType(java.lang.String operation)
Gets a lock type for operation |
java.lang.Boolean |
isRegistered(CacheOperation operation)
Verifies if operation is registered |
java.lang.Boolean |
isRegistered(java.lang.String operation)
Verifies if operation is registered |
void |
put(java.lang.String key,
CacheOperation operation)
Puts CacheOperation in registeredOperations container |
java.lang.String |
toString()
Returns a String from RegisteredOperations object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.HashMap<java.lang.String,CacheOperation> registeredOperations
| Constructor Detail |
|---|
public RegisteredOperations()
| Method Detail |
|---|
public java.lang.Boolean isRegistered(java.lang.String operation)
operation -
true if operation is registered and false if it's notpublic java.lang.Boolean isRegistered(CacheOperation operation)
operation -
true if operation is registered and false if it's notpublic CacheOperation get(java.lang.String key)
key -
public void put(java.lang.String key,
CacheOperation operation)
key - operation - public java.lang.Boolean contains(java.lang.String key)
key -
true if operation is registered and false if it's notpublic CacheLockType getLockType(java.lang.String operation)
operation -
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||