Class RepositoryCacheLoader<T,ID>

java.lang.Object
org.springframework.geode.cache.support.RepositoryCacheLoaderWriterSupport<T,ID>
org.springframework.geode.cache.RepositoryCacheLoader<T,ID>
All Implemented Interfaces:
org.apache.geode.cache.CacheCallback, org.apache.geode.cache.CacheLoader<ID,T>, org.apache.geode.cache.CacheWriter<ID,T>, org.apache.geode.cache.Declarable, org.springframework.beans.factory.Aware, org.springframework.context.EnvironmentAware, CacheLoaderSupport<ID,T>, CacheWriterSupport<ID,T>

public class RepositoryCacheLoader<T,ID> extends RepositoryCacheLoaderWriterSupport<T,ID>
A CacheLoader implementation backed by a Spring Data CrudRepository used to load an entity from an external data source.
Since:
1.1.0
See Also:
  • Field Details

  • Constructor Details

    • RepositoryCacheLoader

      public RepositoryCacheLoader(org.springframework.data.repository.CrudRepository<T,ID> repository)
  • Method Details