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 Constructor Description TenantAwareJobReschedulerLifecycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
void
setTenantAccessor(com.atlassian.tenancy.api.TenantAccessor tenantAccessor)
void
setTenantAwareJobRescheduler(TenantAwareJobRescheduler tenantAwareJobRescheduler)
void
shutdown(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext)
void
startup(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext)
-
-
-
Method Detail
-
startup
public void startup(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext) throws Exception
- Specified by:
startup
in interfacecom.atlassian.config.lifecycle.LifecycleItem
- Throws:
Exception
-
shutdown
public void shutdown(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext) throws Exception
- Specified by:
shutdown
in interfacecom.atlassian.config.lifecycle.LifecycleItem
- Throws:
Exception
-
setTenantAwareJobRescheduler
public void setTenantAwareJobRescheduler(TenantAwareJobRescheduler tenantAwareJobRescheduler)
-
setTenantAccessor
public void setTenantAccessor(com.atlassian.tenancy.api.TenantAccessor tenantAccessor)
-
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
-
-