The Oracle Commerce Platform includes a JMS-based system for explicitly invalidating caches in an SQL repository, where Oracle Commerce Platform servers in a cache invalidation cluster act as message sinks and sources. Cache invalidation messages are initially created by invoking a client method remotely via RMI to a specific server. All servers in the cluster, configured as message sinks or subscribers to the GSA Invalidation topic, accept the message and perform the appropriate cache invalidation as specified by message parameters.
You can specify several levels of cache invalidation:
Invalidate the cache of a given repository item.
Invalidate all repository items of an item descriptor.
Invalidate all repository items.
The Cache Invalidator can be used in two different ways:
Invoke the Cache Invalidator Manually from the command line for repository items that you specify.
Use the Cache Invalidator with Distributed JMS Caching so it is invoked automatically for repository items whose cache mode is set to
distributedJMS
.