@Experimental public class JdbcLoader<K,V> extends org.apache.geode.connectors.jdbc.internal.AbstractJdbcCallback implements CacheLoader<K,V>
Constructor and Description |
---|
JdbcLoader() |
Modifier and Type | Method and Description |
---|---|
V |
load(LoaderHelper<K,V> helper)
Loads a value.
|
checkInitialized, eventCanBeIgnored, getSqlHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
init, initialize
public V load(LoaderHelper<K,V> helper) throws CacheLoaderException
CacheLoader
Region.get(Object, Object)
that triggered this
load.
load
in interface CacheLoader<K,V>
helper
- a LoaderHelper object that is passed in from cache service and provides access to
the key, region, argument, and netSearch
.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.Region.get