Class TenantAwareJobReschedulerLifecycle
java.lang.Object
com.atlassian.confluence.schedule.TenantAwareJobReschedulerLifecycle
- All Implemented Interfaces:
com.atlassian.config.lifecycle.LifecycleItem
public class TenantAwareJobReschedulerLifecycle
extends Object
implements com.atlassian.config.lifecycle.LifecycleItem
Ensures that our current tenant or future tenant jobs have their jobs prodded into the correct timezone by
TenantAwareJobRescheduler.
- Since:
- 5.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetTenantAwareJobRescheduler(TenantAwareJobRescheduler tenantAwareJobRescheduler) voidshutdown(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext) voidstartup(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext)
-
Constructor Details
-
TenantAwareJobReschedulerLifecycle
public TenantAwareJobReschedulerLifecycle()
-
-
Method Details
-
startup
public void startup(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext) throws Exception - Specified by:
startupin interfacecom.atlassian.config.lifecycle.LifecycleItem- Throws:
Exception
-
shutdown
public void shutdown(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext) throws Exception - Specified by:
shutdownin interfacecom.atlassian.config.lifecycle.LifecycleItem- Throws:
Exception
-
setTenantAwareJobRescheduler
-