Class InvalidationCacheWriterInterceptor

All Implemented Interfaces:
Visitor, AsyncInterceptor, JmxStatisticsExposer

public class InvalidationCacheWriterInterceptor extends CacheWriterInterceptor
Extends the CacheWriterInterceptor to add logic for CacheType.INVALIDATION.

With invalidation, the RemoveCommand should always try to remove from persistence, even if the originator does not have the data in memory. The removing non-existing value logic has an optimization that skips the persistence removal; it is disabled in this interceptor.

Since:
16.0
  • Constructor Details

    • InvalidationCacheWriterInterceptor

      public InvalidationCacheWriterInterceptor()