Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.cache.pojo.impl
Class PojoCacheDelegate

    java.lang.Object
      org.jboss.cache.pojo.impl.PojoCacheDelegate

    public class PojoCacheDelegate

extends Object

Delegate class for PojoCache, the real implementation code happens here.

Author:
  Ben Wang

Constructor Summary
`PojoCacheDelegate(PojoCacheImpl cache)`

Method Summary
`boolean` | `exists(org.jboss.cache.Fqn<?> id)`
`Map` | `findObjects(org.jboss.cache.Fqn fqn)`
`Object` | `getObject(org.jboss.cache.Fqn fqn, String field)`
`Object` | `putObjectI(org.jboss.cache.Fqn fqn, Object obj, String field)`
`Object` | `putObjectII(org.jboss.cache.Fqn fqn, Object obj, String field)` Note that caller of this method will take care of synchronization within the `fqn` sub-tree.
`Object` | `removeObject(org.jboss.cache.Fqn fqn, 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`

Constructor Detail

### PojoCacheDelegate

    public PojoCacheDelegate(PojoCacheImpl cache)

Method Detail

### setBulkRemove

    public void setBulkRemove(boolean bulk)

### getObject

    public Object getObject(org.jboss.cache.Fqn fqn,
                            String field)
                     throws org.jboss.cache.CacheException

  Throws:
    `org.jboss.cache.CacheException`

### putObjectI

    public Object putObjectI(org.jboss.cache.Fqn fqn,
                             Object obj,
                             String field)
                      throws org.jboss.cache.CacheException

  Throws:
    `org.jboss.cache.CacheException`

### putObjectII

    public Object putObjectII(org.jboss.cache.Fqn fqn,
                              Object obj,
                              String field)
                       throws org.jboss.cache.CacheException

  Note that caller of this method will take care of synchronization within the `fqn` sub-tree.

  Throws:
    `org.jboss.cache.CacheException`

### removeObject

    public Object removeObject(org.jboss.cache.Fqn fqn,
                               String field)
                        throws org.jboss.cache.CacheException

  Note that caller of this method will take care of synchronization within the `fqn` sub-tree.

  Parameters:
    `fqn` -
  Returns:
  Throws:
    `org.jboss.cache.CacheException`

### findObjects

    public Map findObjects(org.jboss.cache.Fqn fqn)
                    throws org.jboss.cache.CacheException

  Throws:
    `org.jboss.cache.CacheException`

### exists

    public boolean exists(org.jboss.cache.Fqn<?> id)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 JBoss, a division of Red Hat. All Rights Reserved.