cacheRunner
Class LoggingCacheLoader

java.lang.Object
  extended by cacheRunner.LoggingCacheCallback
      extended by cacheRunner.LoggingCacheLoader
All Implemented Interfaces:
CacheCallback, CacheLoader, Declarable

public class LoggingCacheLoader
extends LoggingCacheCallback
implements CacheLoader

A CacheLoader that logs information about the events it receives.

Since:
4.0
Author:
GemStone Systems, Inc.
See Also:
LoggingCacheWriter

Constructor Summary
LoggingCacheLoader()
           
 
Method Summary
 Object load(LoaderHelper helper)
          Before creating a new value for the requested key, this loader will do a LoaderHelper.netSearch(boolean) to look for the value in another member of the distributed system.
 
Methods inherited from class cacheRunner.LoggingCacheCallback
close, format, format, init, log, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.gemstone.gemfire.cache.CacheCallback
close
 

Constructor Detail

LoggingCacheLoader

public LoggingCacheLoader()
Method Detail

load

public final Object load(LoaderHelper helper)
                  throws CacheLoaderException
Before creating a new value for the requested key, this loader will do a LoaderHelper.netSearch(boolean) to look for the value in another member of the distributed system.

Specified by:
load in interface CacheLoader
Throws:
CacheLoaderException


Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.