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(Fqn<?> id)`
`Map` | `findObjects(Fqn fqn)`
`Fqn<?>` | `getInternalFqn(Object object)`
`Object` | `getObject(Fqn fqn, String field, Object source)`
`Collection<Reference>` | `getReferences(Object object)`
`Object` | `putObject(Fqn fqn, Object obj, String field, Object source)` Note that caller of this method will take care of synchronization within the `fqn` sub-tree.
`Object` | `removeObject(Fqn fqn, String field, Object source)` Note that caller of this method will take care of synchronization within the `fqn` sub-tree.

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

### getObject

    public Object getObject(Fqn fqn,
                            String field,
                            Object source)
                     throws CacheException

  Throws:
    `CacheException`

### putObject

    public Object putObject(Fqn fqn,
                            Object obj,
                            String field,
                            Object source)
                     throws CacheException

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

  Throws:
    `CacheException`

### removeObject

    public Object removeObject(Fqn fqn,
                               String field,
                               Object source)
                        throws CacheException

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

  Parameters:
    `fqn` -
  Returns:
    detached object
  Throws:
    `CacheException`

### findObjects

    public Map findObjects(Fqn fqn)
                    throws CacheException

  Throws:
    `CacheException`

### exists

    public boolean exists(Fqn<?> id)

### getInternalFqn

    public Fqn<?> getInternalFqn(Object object)

### getReferences

    public Collection<Reference> getReferences(Object object)

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 © 2008 JBoss, a division of Red Hat. All Rights Reserved.