Class ConcurrentDataCache

All Implemented Interfaces:
Serializable, DataCache, RemoteCommitListener, Configurable, Clearable, Closeable, EventManager
Direct Known Subclasses:
PartitionedDataCache

public class ConcurrentDataCache extends AbstractDataCache implements RemoteCommitListener
A DataCache implementation that is optimized for concurrent access. When the cache fills up, values to remove from cache are chosen randomly. Due to race conditions, it is possible that a get call might not return a cached instance if that instance is being transferred between internal datastructures.
Since:
0.4.0
See Also: