public class ManagedScheduledSimpleJob extends AbstractManagedScheduledJob
If your job is only meaningful in clustered environment, use the constructor
that can set clusteredOnly
to true
so that your job won't be
scheduled in non-clustered environments.
DEFAULT_LOCK_WAIT_TIME_MS, DEFAULT_TIMEOUT_POLICY, LOCK_WAIT_TIME_PARAMETER_NAME, TIMEOUT_POLICY_PARAMETER_NAME
Constructor and Description |
---|
ManagedScheduledSimpleJob(org.quartz.JobDetail jobDetail,
Long repeatInterval,
Integer repeatCount,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable)
Deprecated.
since 5.10
|
ManagedScheduledSimpleJob(com.atlassian.scheduler.config.JobId jobId,
com.atlassian.scheduler.JobRunner jobRunner,
com.atlassian.scheduler.config.JobConfig jobConfig,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable)
For atlassian-scheduler.
|
ManagedScheduledSimpleJob(com.atlassian.scheduler.config.JobId jobId,
com.atlassian.scheduler.JobRunner jobRunner,
com.atlassian.scheduler.config.JobConfig jobConfig,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable,
boolean clusteredOnly)
For atlassian-scheduler.
|
ManagedScheduledSimpleJob(com.atlassian.scheduler.config.JobId jobId,
com.atlassian.scheduler.JobRunner jobRunner,
com.atlassian.scheduler.config.JobConfig jobConfig,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable,
boolean clusteredOnly,
long lockWaitTime,
TimeoutPolicy timeoutPolicy)
For atlassian-scheduler.
|
ManagedScheduledSimpleJob(String id,
com.atlassian.scheduler.JobRunner jobRunner,
boolean runOncePerCluster,
long repeatInterval,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable)
For atlassian-scheduler.
|
ManagedScheduledSimpleJob(String id,
com.atlassian.scheduler.JobRunner jobRunner,
boolean runOncePerCluster,
long repeatInterval,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable,
boolean clusteredOnly)
For atlassian-scheduler.
|
ManagedScheduledSimpleJob(String id,
com.atlassian.scheduler.JobRunner jobRunner,
boolean runOncePerCluster,
long repeatInterval,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable,
boolean clusteredOnly,
long lockWaitTime,
TimeoutPolicy timeoutPolicy)
For atlassian-scheduler.
|
ManagedScheduledSimpleJob(String id,
com.atlassian.scheduler.JobRunner jobRunner,
boolean runOncePerCluster,
long repeatInterval,
int repeatCount,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable)
For atlassian-scheduler.
|
ManagedScheduledSimpleJob(String id,
com.atlassian.scheduler.JobRunner jobRunner,
boolean runOncePerCluster,
long repeatInterval,
int repeatCount,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable,
boolean clusteredOnly)
For atlassian-scheduler.
|
ManagedScheduledSimpleJob(String id,
com.atlassian.scheduler.JobRunner jobRunner,
boolean runOncePerCluster,
long repeatInterval,
int repeatCount,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable,
boolean clusteredOnly,
long lockWaitTime,
TimeoutPolicy timeoutPolicy)
For atlassian-scheduler.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getDefaultRepeatCount() |
Long |
getDefaultRepeatInterval() |
int |
hashCode() |
canDisable, canRunAdhoc, disabledByDefault, getJobConfig, getJobDetail, getJobRunner, getLockWaitTime, getScheduledJobKey, getTimeoutPolicy, isClusteredOnly, isEditable, isKeepingHistory, isLocalJob, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isCronJob, isQuartzJob
sameJobId
@Deprecated public ManagedScheduledSimpleJob(org.quartz.JobDetail jobDetail, Long repeatInterval, Integer repeatCount, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable)
public ManagedScheduledSimpleJob(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable)
id
is used for both JobId
and JobRunnerKey
.public ManagedScheduledSimpleJob(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, int repeatCount, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable)
id
is used for both JobId
and JobRunnerKey
.public ManagedScheduledSimpleJob(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable, boolean clusteredOnly)
id
is used for both JobId
and JobRunnerKey
.public ManagedScheduledSimpleJob(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable, boolean clusteredOnly, long lockWaitTime, TimeoutPolicy timeoutPolicy)
id
is used for both JobId
and JobRunnerKey
.public ManagedScheduledSimpleJob(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, int repeatCount, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable, boolean clusteredOnly)
id
is used for both JobId
and JobRunnerKey
.public ManagedScheduledSimpleJob(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, int repeatCount, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable, boolean clusteredOnly, long lockWaitTime, TimeoutPolicy timeoutPolicy)
id
is used for both JobId
and JobRunnerKey
.public ManagedScheduledSimpleJob(com.atlassian.scheduler.config.JobId jobId, com.atlassian.scheduler.JobRunner jobRunner, com.atlassian.scheduler.config.JobConfig jobConfig, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable)
public ManagedScheduledSimpleJob(com.atlassian.scheduler.config.JobId jobId, com.atlassian.scheduler.JobRunner jobRunner, com.atlassian.scheduler.config.JobConfig jobConfig, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable, boolean clusteredOnly)
public ManagedScheduledSimpleJob(com.atlassian.scheduler.config.JobId jobId, com.atlassian.scheduler.JobRunner jobRunner, com.atlassian.scheduler.config.JobConfig jobConfig, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable, boolean clusteredOnly, long lockWaitTime, TimeoutPolicy timeoutPolicy)
public Long getDefaultRepeatInterval()
public Integer getDefaultRepeatCount()
public boolean equals(Object o)
equals
in class AbstractManagedScheduledJob
public int hashCode()
hashCode
in class AbstractManagedScheduledJob
Copyright © 2003–2020 Atlassian. All rights reserved.