Package org.springframework.geode.cache
package org.springframework.geode.cache
-
ClassDescriptionAn
abstract base class
implementing the Apache GeodeCacheListener
interface by extending theCacheListenerAdapter
base class, which processes allEntryEvents
andRegionEvents
using the same logic.A Spring Data for Apache GeodeRegionConfigurer
implementation used to configure a targetRegion
to use Asynchronous Inline Caching based on the Spring DataRepositories
abstraction.ARegionConfigurer
implementation used to enable Inline Caching on a designatedRegion
.An Apache GeodeAsyncEventListener
that uses a Spring DataCrudRepository
to perform data access operations to a backend, external data source asynchronously, triggered by cache operations.RepositoryAsyncEventListener.AbstractAsyncEventOperationRepositoryFunction
is an abstract base class implementing theRepositoryAsyncEventListener.AsyncEventOperationRepositoryFunction
interface to provided a default template implementation of theFunction.apply(Object)
method.RepositoryAsyncEventListener.AsyncEventError
is a wrapper class encapsulating theAsyncEvent
along with theerror
that was thrown while processing the event.TheRepositoryAsyncEventListener.AsyncEventErrorHandler
interface is aFunction
andFunctionalInterface
used to handle errors while processingAsyncEvents
.TheRepositoryAsyncEventListener.AsyncEventOperationRepositoryFunction
interface is aFunction
andFunctionalInterface
that translates theAsyncEvent
Operation
into a Spring DataCrudRepository
method invocation.AnRepositoryAsyncEventListener.AsyncEventOperationRepositoryFunction
capable of handlingOperation.CREATE
andOperation.UPDATE
AsyncEvents
.RepositoryCacheLoader<T,ID> ACacheLoader
implementation backed by a Spring DataCrudRepository
used to load an entity from an external data source.Spring DataRegionConfigurer
implementation used to adapt and register a Spring DataCrudRepository
as aCacheLoader
for a targetedRegion
.RepositoryCacheWriter<T,ID> ACacheWriter
implementation backed by a Spring DataCrudRepository
used to persist a cache entry (i.e.Spring DataRegionConfigurer
implementation used to adapt and register a Spring DataCrudRepository
as aCacheWriter
for a targetedRegion
.TheSimpleCacheResolver
abstract class contains utility functions for resolving Apache GeodeGemFireCache
instances, such as aClientCache
or a peerCache
.