The class atg.repository.RepositoryImpl
provides the method invalidateCaches()
, which clears all caches from the target repository:
void invalidateCaches()
void invalidateCaches(boolean pGlobal)
If you supply an argument of true to the boolean version, the method is invoked on all cluster repositories.
Two exceptions apply:
If you call the non-boolean version on a repository where item descriptors are set to Distributed Hybrid Caching, a cache invalidation event is triggered for each of those item descriptors, which the GSACacheServerManager distributes accordingly.
The boolean version has no effect on remote item caches that use Distributed TCP Caching.