The Persistence SPI.
Interface Summary Interface Description AdvancedCacheExpirationWriter<K,V>Defines functionality for advanced expiration techniques. AdvancedCacheExpirationWriter.ExpirationPurgeListener<K,V>Callback to be notified when an entry is removed by the
AdvancedCacheLoader<K,V>A specialised extension of the
CacheLoaderinterface that allows processing parallel iteration over the existing entries.
AdvancedCacheLoader.CacheLoaderTask<K,V> Deprecated.since 9.3 The process method is deprecated and thus this class shouldn't be in use any more AdvancedCacheLoader.TaskContext Deprecated.since 9.3 The process method is no longer suggested and thus this class shouldn't be in use any more AdvancedCacheWriter<K,V>Defines advanced functionality for persisting data to an external storage. AdvancedCacheWriter.PurgeListener<K>Callback to be notified when an entry is removed by the
AdvancedLoadWriteStore<K,V>Advanced interface for interacting with an external store in a read-write mode. CacheLoader<K,V>Defines the logic for loading data from an external storage. CacheWriter<K,V>Allows persisting data to an external storage, as opposed to the
ExternalStore<K,V>Basic interface for interacting with an external store in a read-write mode. FlagAffectedStore<K,V>Implemented by stores that can skip writes based on certain flags present in the invocation. InitializationContext LocalOnlyCacheLoaderMarker interface for cache loaders that should only load values on the originating nodes. SegmentedAdvancedLoadWriteStore<K,V> TransactionalCacheWriter<K,V>Defines the functionality of a transactional store.
Exception Summary Exception Description PersistenceException StoreUnavailableExceptionAn exception thrown by the
PersistenceManagerif one or more stores are unavailable when a cache operation is attempted.