wt.queue
Class ScheduleQueueDriver
java.lang.Object
wt.queue.ScheduleQueueDriver
- All Implemented Interfaces:
- RemoteAccess, Serializable
- public class ScheduleQueueDriver
- extends Object
- implements Serializable, RemoteAccess
- See Also:
- Serialized Form
Method Summary |
void |
addEntry(String queue_name,
String target_class,
String target_method,
Integer seconds_from_now)
|
void |
addEntry(String queue_name,
String target_class,
String target_method,
Integer seconds_from_now,
int count)
|
void |
addMultiEntry(String queue_name,
String target_class,
String target_method,
Integer count)
|
void |
countQueues()
|
ScheduleQueue |
createQueue(String queue_name)
|
ScheduleQueue |
deleteQueue(String queue_name)
|
void |
enableQueue(String queue_name,
boolean enabled)
|
private static Manager |
getManager()
|
static void |
main(String[] args)
|
void |
startQueue(String queue_name)
|
void |
stopQueue(String queue_name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
qsf
private static QueueServiceFwd qsf
SERVER
static final boolean SERVER
ScheduleQueueDriver
public ScheduleQueueDriver()
getManager
private static Manager getManager()
throws WTException
- Throws:
WTException
createQueue
public ScheduleQueue createQueue(String queue_name)
throws WTException
- Throws:
WTException
deleteQueue
public ScheduleQueue deleteQueue(String queue_name)
throws WTException
- Throws:
WTException
startQueue
public void startQueue(String queue_name)
throws WTException
- Throws:
WTException
stopQueue
public void stopQueue(String queue_name)
throws WTException
- Throws:
WTException
enableQueue
public void enableQueue(String queue_name,
boolean enabled)
throws WTException
- Throws:
WTException
countQueues
public void countQueues()
throws WTException
- Throws:
WTException
addEntry
public void addEntry(String queue_name,
String target_class,
String target_method,
Integer seconds_from_now)
throws WTException
- Throws:
WTException
addEntry
public void addEntry(String queue_name,
String target_class,
String target_method,
Integer seconds_from_now,
int count)
throws WTException
- Throws:
WTException
addMultiEntry
public void addMultiEntry(String queue_name,
String target_class,
String target_method,
Integer count)
throws WTException
- Throws:
WTException
main
public static void main(String[] args)