Class HazelcastCacheCompactor
java.lang.Object
com.atlassian.confluence.impl.cache.CacheCompactorSupport
com.atlassian.confluence.cache.hazelcast.HazelcastCacheCompactor
- All Implemented Interfaces:
CacheCompactor
,ClusterCacheCompactor
,Runnable
@Internal
public class HazelcastCacheCompactor
extends CacheCompactorSupport
implements ClusterCacheCompactor
Clears Hazelcast caches that exceeded 2x of their maximum size.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionHazelcastCacheCompactor
(com.atlassian.cache.CacheManager cacheManager, HazelcastHelper hazelcastHelper, com.atlassian.event.api.EventPublisher eventPublisher, io.micrometer.core.instrument.MeterRegistry micrometerRegistry) -
Method Summary
Methods inherited from class com.atlassian.confluence.impl.cache.CacheCompactorSupport
run
-
Constructor Details
-
HazelcastCacheCompactor
public HazelcastCacheCompactor(com.atlassian.cache.CacheManager cacheManager, HazelcastHelper hazelcastHelper, com.atlassian.event.api.EventPublisher eventPublisher, io.micrometer.core.instrument.MeterRegistry micrometerRegistry)
-
-
Method Details
-
compact
public void compact()Description copied from interface:CacheCompactor
Perform the compaction- Specified by:
compact
in interfaceCacheCompactor
-