org.jboss.cache.pojo.impl
Class PojoCacheDelegate
java.lang.Object
org.jboss.cache.pojo.impl.PojoCacheDelegate
public class PojoCacheDelegate
- extends java.lang.Object
Delegate class for PojoCache, the real implementation code happens here.
- Author:
- Ben Wang
Method Summary |
java.util.Map |
findObjects(Fqn fqn)
|
java.lang.Object |
getObject(Fqn fqn,
java.lang.String field)
|
java.lang.Object |
putObjectI(Fqn fqn,
java.lang.Object obj,
java.lang.String field)
|
java.lang.Object |
putObjectII(Fqn fqn,
java.lang.Object obj,
java.lang.String field)
Note that caller of this method will take care of synchronization within the fqn sub-tree. |
java.lang.Object |
removeObject(Fqn fqn,
java.lang.String field)
Note that caller of this method will take care of synchronization within the fqn sub-tree. |
void |
setBulkRemove(boolean bulk)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoCacheDelegate
public PojoCacheDelegate(PojoCacheImpl cache)
setBulkRemove
public void setBulkRemove(boolean bulk)
getObject
public java.lang.Object getObject(Fqn fqn,
java.lang.String field)
throws CacheException
- Throws:
CacheException
putObjectI
public java.lang.Object putObjectI(Fqn fqn,
java.lang.Object obj,
java.lang.String field)
throws CacheException
- Throws:
CacheException
putObjectII
public java.lang.Object putObjectII(Fqn fqn,
java.lang.Object obj,
java.lang.String field)
throws CacheException
- Note that caller of this method will take care of synchronization within the
fqn
sub-tree.
- Throws:
CacheException
removeObject
public java.lang.Object removeObject(Fqn fqn,
java.lang.String field)
throws CacheException
- Note that caller of this method will take care of synchronization within the
fqn
sub-tree.
- Parameters:
fqn
-
- Returns:
-
- Throws:
CacheException
findObjects
public java.util.Map findObjects(Fqn fqn)
throws CacheException
- Throws:
CacheException