Class RunningJobCacheManagementFacade

java.lang.Object
io.jmix.quartz.service.RunningJobCacheManagementFacade

@ManagedResource(description="Manages running quartz jobs cache", objectName="jmix.quartz:type=RunningJobsCache") @Component("quartz_RunningJobCacheManagementFacade") public class RunningJobCacheManagementFacade extends Object
  • Field Details

  • Constructor Details

    • RunningJobCacheManagementFacade

      public RunningJobCacheManagementFacade()
  • Method Details

    • isCacheEnabled

      @ManagedAttribute(description="If cache usage is enabled") public boolean isCacheEnabled()
    • evictAll

      @ManagedOperation(description="Discard all cached jobs") public String evictAll()
    • evictJob

      @ManagedOperation(description="Discard all cached triggers for job") @ManagedOperationParameter(name="jobName",description="Name of the job") @ManagedOperationParameter(name="jobGroup",description="Group of the job. Can be empty if it uses DEFAULT group") public String evictJob(String jobName, String jobGroup)
    • evictTrigger

      @ManagedOperation(description="Discard specific cached triggers for job") @ManagedOperationParameter(name="jobName",description="Name of the job") @ManagedOperationParameter(name="jobGroup",description="Group of the job. Can be empty if it uses DEFAULT group") @ManagedOperationParameter(name="jobName",description="Name of the trigger") @ManagedOperationParameter(name="jobGroup",description="Group of the trigger. Can be empty if it uses DEFAULT group") public String evictTrigger(String jobName, String jobGroup, String triggerName, String triggerGroup)