Class AsyncInvalidationExoCache<K extends Serializable,V>

java.lang.Object
org.exoplatform.services.cache.concurrent.ConcurrentFIFOExoCache<K,V>
org.exoplatform.services.cache.invalidation.AsyncInvalidationExoCache<K,V>
All Implemented Interfaces:
ExoCache<K,V>

public class AsyncInvalidationExoCache<K extends Serializable,V> extends ConcurrentFIFOExoCache<K,V>
This implementation of ExoCache will behave exactly the same way as ConcurrentFIFOExoCache except in case of a cache change, indeed the modifications will be first applied locally then it will be invalidated over the cluster asynchronously to limit the performance impact on the local cluster node. This class can be used as a drop-in replacement for ConcurrentFIFOExoCache in a cluster environment.