Class CacheDispatcherImpl

  • All Implemented Interfaces:
    CacheDispatcher

    @Component
    public class CacheDispatcherImpl
    extends Object
    implements CacheDispatcher
    Dispatches cache-related events - mainly invalidation ones - to all relevant listeners: CacheRegistry (grouping local caches) and ClusterCacheListener (for inter-node distribution).

    Could be reworked in the future.

    Note that this class resides in repo-cache module almost by accident and perhaps should be moved to a more appropriate place.