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 TypeMethodDescriptionvoidCalled after all the beans are constructed and the ApplicationContext is fully populated.voidrunJob()
-
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:InitializingComponentCalled 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:
afterInstantiationin interfaceInitializingComponent- Throws:
Exception
-
runJob
public void runJob()- Specified by:
runJobin interfacecom.atlassian.diagnostics.ipd.api.jobs.IpdJob
-