Package org.tailormap.api.scheduling
Class PrometheusPingTask
java.lang.Object
org.springframework.scheduling.quartz.QuartzJobBean
org.tailormap.api.scheduling.PrometheusPingTask
- All Implemented Interfaces:
org.quartz.Job,Task
@DisallowConcurrentExecution
@PersistJobDataAfterExecution
public class PrometheusPingTask
extends org.springframework.scheduling.quartz.QuartzJobBean
implements Task
-
Field Summary
Fields inherited from interface org.tailormap.api.scheduling.Task
CRON_EXPRESSION_KEY, DESCRIPTION_KEY, EXECUTION_COUNT_KEY, EXECUTION_FINISHED_KEY, INTERRUPTABLE_KEY, LAST_RESULT_KEY, PRIORITY_KEY, STATE_KEY, TYPE_KEY, UUID_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteInternal(org.quartz.JobExecutionContext context) Get the description of the task.getType()Get the type of the task.voidsetDescription(String description) Set the description of the task.Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean
executeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tailormap.api.scheduling.Task
isInterruptable, taskProgress
-
Constructor Details
-
PrometheusPingTask
-
-
Method Details
-
executeInternal
protected void executeInternal(@NonNull org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException - Specified by:
executeInternalin classorg.springframework.scheduling.quartz.QuartzJobBean- Throws:
org.quartz.JobExecutionException
-
getType
Description copied from interface:TaskGet the type of the task. Implement this method to return the key for the type of task. This must be a read-only property. -
getDescription
Description copied from interface:TaskGet the description of the task.- Specified by:
getDescriptionin interfaceTask- Returns:
- the description
-
setDescription
Description copied from interface:TaskSet the description of the task.- Specified by:
setDescriptionin interfaceTask- Parameters:
description- the description
-