persistence.cache.remote

Overview

The remote cache package provides a distributed cache clearing mechanism. This is in the form of a subscribe / publish service for caches operating on disparate virtual machines wanting to be informed when their cache has been invalidated (or made dirty) by some other virtual machine.

Remote caches subscribe via the remoteCacheSubscription to a the remoteCachePublisher running on the server. The server notifies the remoteCachePublisher to invalidate certain persistent objects and these invalidations are published to all InvalidateableRemoteCaches registered with the publisher.