public class RepositoryCacheLoader<T,ID> extends RepositoryCacheLoaderWriterSupport<T,ID>
CacheLoader implementation backed by a Spring Data CrudRepository used to load an entity
 from an external data source.CacheLoader, 
CrudRepository, 
CacheLoaderSupport| Modifier and Type | Field and Description | 
|---|---|
| protected static java.lang.String | CACHE_LOAD_EXCEPTION_MESSAGE | 
DATA_ACCESS_ERROR, NUKE_AND_PAVE_PROPERTY| Constructor and Description | 
|---|
| RepositoryCacheLoader(org.springframework.data.repository.CrudRepository<T,ID> repository) | 
| Modifier and Type | Method and Description | 
|---|---|
| T | load(org.apache.geode.cache.LoaderHelper<ID,T> helper) | 
| protected org.apache.geode.cache.CacheRuntimeException | newCacheRuntimeException(java.util.function.Supplier<java.lang.String> messageSupplier,
                        java.lang.Throwable cause) | 
doRepositoryOp, getEnvironment, getRepository, isNukeAndPaveEnabled, setEnvironment, withclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosebeforeCreate, beforeDestroy, beforeRegionClear, beforeRegionDestroy, beforeUpdateprotected static final java.lang.String CACHE_LOAD_EXCEPTION_MESSAGE
public T load(org.apache.geode.cache.LoaderHelper<ID,T> helper) throws org.apache.geode.cache.CacheLoaderException
protected org.apache.geode.cache.CacheRuntimeException newCacheRuntimeException(java.util.function.Supplier<java.lang.String> messageSupplier,
                                                                                java.lang.Throwable cause)
newCacheRuntimeException in class RepositoryCacheLoaderWriterSupport<T,ID>