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.interceptors
Class CacheLoaderInterceptor

    java.lang.Object
      org.jboss.cache.interceptors.Interceptor
          org.jboss.cache.interceptors.CacheLoaderInterceptor

public class CacheLoaderInterceptor
extends Interceptor

Loads nodes that don't exist at the time of the call into memory from the CacheLoader

Version:
  $Id: CacheLoaderInterceptor.java,v 1.3.4.2 2004/12/14 08:19:20 starksm Exp $
Author:
  Bela Ban

Constructor Summary
`CacheLoaderInterceptor()`

Method Summary
`Object` | `invoke(org.jgroups.blocks.MethodCall m)` Makes sure a node is loaded into memory before a call executes (no-op if node is already loaded).
`void` | `setCache(TreeCache cache)`

Methods inherited from class org.jboss.cache.interceptors.Interceptor
`getNext, setNext`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CacheLoaderInterceptor

    public CacheLoaderInterceptor()

Method Detail

### setCache

    public void setCache(TreeCache cache)

  Overrides:
    `setCache` in class `Interceptor`

### invoke

    public Object invoke(org.jgroups.blocks.MethodCall m)
                  throws Throwable

  Makes sure a node is loaded into memory before a call executes (no-op if node is already loaded). If attributes of a node are to be accessed by the method, the attributes are also loaded.

  Overrides:
    `invoke` in class `Interceptor`
  Parameters:
    `m` -
  Returns:
  Throws:
    `Throwable`

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 © 2002 JBoss Group, LLC. All Rights Reserved.