cacheRunner
Class StringLoader
java.lang.Object
cacheRunner.StringLoader
- All Implemented Interfaces:
- CacheCallback, CacheLoader, Declarable
public class StringLoader
- extends Object
- implements CacheLoader, Declarable
A CacheLoader that simply returns the
value of the key that is
loaded.
- Since:
- 3.5
- Author:
- GemStone Systems, Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringLoader
public StringLoader()
load
public Object load(LoaderHelper helper)
throws CacheLoaderException
- Simply return the string value of the key being loaded
- Specified by:
load in interface CacheLoader
- Throws:
CacheLoaderException- See Also:
LoaderHelper.getKey(),
String.valueOf(Object)
init
public void init(Properties props)
- Nothing to initialize
- Specified by:
init in interface Declarable
close
public void close()
- Specified by:
close in interface CacheCallback
Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.