Class Cache<K,V>

java.lang.Object
com.scaleout.client.caching.Cache<K,V>
Type Parameters:
K - the key type. Must be int, string, byte[], UUID or provide a custom KeyEncoder for the Cache type.
V - the value type. Cache must be serializable or a custom CacheSerializer/CacheDeserializer must be provided to the CacheBuilder.
All Implemented Interfaces:
com.scaleout.client.caching.ServiceEventHandler<K,V>

public abstract class Cache<K,V> extends Object implements com.scaleout.client.caching.ServiceEventHandler<K,V>

The Cache class is used to make caching requests to a ScaleOut in-memory data grid.

Cache's are instantiated with the CacheBuilder.

Cache's are logically separated based on the String name provided to the CacheBuilder.