Package com.atlassian.jira.ipd.node
Class CacheInvalidationTriggerIpdJob
java.lang.Object
com.atlassian.jira.ipd.node.CacheInvalidationTriggerIpdJob
- All Implemented Interfaces:
com.atlassian.diagnostics.ipd.api.jobs.IpdJob
,InitializingComponent
public class CacheInvalidationTriggerIpdJob
extends Object
implements com.atlassian.diagnostics.ipd.api.jobs.IpdJob, InitializingComponent
Triggers a single cache invalidation call to an artificial cache every minute.
Allows to measure cache replication inter-node latency and connectivity at least once a minute.
See
LocalQCacheOpQueueWithStats
for measuring implementation.- Since:
- 9.11
-
Constructor Summary
ConstructorsConstructorDescriptionCacheInvalidationTriggerIpdJob
(com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistry ipdJobRegistry, com.atlassian.cache.CacheManager cacheManager, ClusterManager clusterManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called after all the beans are constructed and the ApplicationContext is fully populated.void
runJob()
-
Constructor Details
-
CacheInvalidationTriggerIpdJob
public CacheInvalidationTriggerIpdJob(com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistry ipdJobRegistry, com.atlassian.cache.CacheManager cacheManager, ClusterManager clusterManager)
-
-
Method Details
-
afterInstantiation
Description copied from interface:InitializingComponent
Called after all the beans are constructed and the ApplicationContext is fully populated. Order of execution is order of bean creation, driven by InitializingComponentProcessor.- Specified by:
afterInstantiation
in interfaceInitializingComponent
- Throws:
Exception
-
runJob
public void runJob()- Specified by:
runJob
in interfacecom.atlassian.diagnostics.ipd.api.jobs.IpdJob
-