|Constructor and Description|
|Modifier and Type||Method and Description|
Called when the region containing this callback is closed or destroyed, when the cache is closed, or when a callback is removed from a region using an
Loads a value.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public javax.servlet.http.HttpSession load(LoaderHelper<String,javax.servlet.http.HttpSession> helper) throws CacheLoaderException
Region.get(Object, Object)that triggered this load.
helper- a LoaderHelper object that is passed in from cache service and provides access to the key, region, argument, and
Region.get(Object, Object)to return
CacheLoaderException- if an error occurs. This exception or any other exception thrown by this method will be propagated back to the application from the get method.
public void close()
Implementations should cleanup any external resources such as database connections. Any runtime exceptions this method throws will be logged.
It is possible for this method to be called multiple times on a single callback instance, so implementations must be tolerant of this.