com.atlassian.quartz.jobs
Class TaskQueueFlushJob

java.lang.Object
  extended by org.springframework.scheduling.quartz.QuartzJobBean
      extended by com.atlassian.quartz.jobs.AbstractJob
          extended by com.atlassian.quartz.jobs.TaskQueueFlushJob
All Implemented Interfaces:
com.opensymphony.xwork.LocaleProvider, org.quartz.Job
Direct Known Subclasses:
MailQueueFlushJob, ReferralQueueFlushJob

public class TaskQueueFlushJob
extends AbstractJob

Quartz job responsible for flushing the queue with the name specified


Field Summary
 
Fields inherited from class com.atlassian.quartz.jobs.AbstractJob
DEFAULT_SESSION_FACTORY_BEAN_NAME, textProviders
 
Constructor Summary
TaskQueueFlushJob()
           
 
Method Summary
 void doExecute(org.quartz.JobExecutionContext jobExecutionContext)
           
 String getQueueName()
          Deprecated. since 3.1. Use setQueueName(String) instead.
 void setQueueName(String queueName)
           
 void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
           
 
Methods inherited from class com.atlassian.quartz.jobs.AbstractJob
addAssociatedActionForResources, allowConcurrentExecution, executeInternal, getLocale, getResourceBundle, getText, getText, setApplicationConfig, setSessionFactory
 
Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskQueueFlushJob

public TaskQueueFlushJob()
Method Detail

doExecute

public void doExecute(org.quartz.JobExecutionContext jobExecutionContext)
               throws org.quartz.JobExecutionException
Specified by:
doExecute in class AbstractJob
Throws:
org.quartz.JobExecutionException

getQueueName

@Deprecated
public String getQueueName()
Deprecated. since 3.1. Use setQueueName(String) instead.

This ancient method is often overriden by subclasses in plugins (which is why it has been deprecated and not removed).

Returns:
the queue name of the job

setQueueName

public void setQueueName(String queueName)

setTaskManager

public void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)


Copyright © 2003-2013 Atlassian. All Rights Reserved.