Package com.scaleout.client.caching
package com.scaleout.client.caching
API for caching to a ScaleOut in-memory data grid.
-
ClassDescriptionThe
BackingStoreMode
indicates the type of asynchronous backing-store behavior that the server should invoke for an object.TheByteArrayKeyEncoder
is an implementation of aKeyEncoder
forByte
keys compatible with the SOSS-JNC API.Cache<K,V> TheCache
class is used to make caching requests to a ScaleOut in-memory data grid.CacheBuilder<K,V> TheCacheBuilder
is used to instantiate a typed cache connected to a ScaleOut in-memory data grid.TheCacheDeserializer
is used to deserialize aV
value from a N-length byte array.Metadata for an object stored in aCache
.Cache entry disposition is used by theCacheEntryExpirationHandler
to tell aCache
what to do with an object that has expired.Callback that removes the provided object from a backing store.Callback that is invoked when an object expires in the ScaleOut service.Callback that writes the provided object to a backing store.TheCacheException
is thrown when all retries to connect to a ScaleOut in-memory data grid have been exhausted.CacheResponse<K,V> TheCacheResponse
provides details regarding the status of a caching request.TheCacheSerializer
is used to serialize aV
value to a N-length byte array.TheCacheValueDeserializer
is used as the defaultV
value deserializer.TheCacheValueSerializer
is used as the defaultV
value serializer.ClientCache<K,V> TheClientCache
storesClientCacheEntry
's to speed up read operations.ClientCacheEntry<K,V> TheClientCacheEntry
is an element in aClientCache
.TheClientCacheEntryWeigher
is used to evaluate aClientCacheEntry
's weight in the weightedClientCache
.TheClientCacheOptions
enum indicates in-memory client cache usage.Constants and reasonable defaults for configuring a cache from a properties file.TheCreatePolicy
specifies per-object policy information when adding objects to a ScaleOut in-memory data grid.TheCreatePolicyBuilder
class is used to create immutableCreatePolicy
objects.TheDeserializationException
indicates that an error occurred while deserializing a value from the ScaleOut in-memory data grid.The EventDeliveryExceptionHandlerArgs class is used to store the NamedCache, Id, and Exception that occurred during a BackingStore operation.The EventDeliveryExceptionHandler is used to deliver exceptions that were unhandled in user code during backing store operations.TheGeoServerCoherencyPolicy
is used to indicate the type of coherency policy used for GeoServer "pull" replication.TheGeoServerPullPolicy
enum is used to indicate whether objects added to the cache will be accessible to remote stores via GeoServer "pull" replication.TheGeoServerPushPolicy
enum is used to indicate whether objects added to the cache will be subject to GeoServer "push" replication.TheGeoServerReadMode
is an enum used to control GeoServer "pull" replication during Read operations.KeyEncoder<K>TheKeyEncoder
is used to transform aK
key into an array of 32 bytes.TheKeyEncodingResult
returned by an implementation ofKeyEncoder.encode(Object)
TheLegacyStringKeyEncoder
is an implementation of aKeyEncoder
forString
keys compatible with the SOSS-JNC API.TheLockToken
is an identifier for a lock that is held on an object in the ScaleOut in-memory data grid.ThePreemptionPriority
enum is used to indicate the priority of keeping a given object in the ScaleOut in-memory data grid under low-memory conditions.TheReadPolicy
specifies per-object policy information when reading objects from a ScaleOut in-memory data grid.TheReadPolicyBuilder
class is used to create immutableReadPolicy
objects.TheRequestStatus
provides details on the status of a caching request.TheSerializationException
indicates that an error occurred while serializing a value to the ScaleOut in-memory data grid.Maintains an in-process cache of string keys.TheStringKeyEncoder
is an implementation of aKeyEncoder
forString
keys that is not compatible with the SOSS-JNC API.TheTimeoutType
enum is used to indicate the type of timeout an object uses.TheUuidKeyEncoder
is an implementation of aKeyEncoder
forUUID
keys compatible with the SOSS-JNC API.ValueFactory<K,V> Call back used to load objects into aCache
.Created by aValueFactory
implementation.TheVersionToken
is an identifier for the version of an object stored in the ScaleOut in-memory data grid.