@Component @Conditional(value=IsClusteredCondition.class) public class ApplicationStatusCollector extends Object implements com.atlassian.scheduler.JobRunner
application state
of the node to the
clustered cache
. It is not exposed as a
monitoring module
as this
information part of the node information
Modifier and Type | Class and Description |
---|---|
static class |
ApplicationStatusCollector.Column |
Modifier and Type | Field and Description |
---|---|
static String |
CLUSTERED_CACHE_KEY |
Constructor and Description |
---|
ApplicationStatusCollector(ClusteredCache clusteredCache,
com.atlassian.scheduler.SchedulerService schedulerService,
ApplicationStateResolver applicationStateResolver) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.scheduler.JobRunnerResponse |
runJob(com.atlassian.scheduler.JobRunnerRequest request) |
void |
start() |
void |
stop() |
public static final String CLUSTERED_CACHE_KEY
public ApplicationStatusCollector(ClusteredCache clusteredCache, com.atlassian.scheduler.SchedulerService schedulerService, ApplicationStateResolver applicationStateResolver)
public void start()
@Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
runJob
in interface com.atlassian.scheduler.JobRunner
public void stop()
Copyright © 2002-2022 Atlassian. All Rights Reserved.