org.queue4gae.queue.QueueService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of queue4gae Show documentation
Show all versions of queue4gae Show documentation
Queue4GAE is a Java wrapper for the TaskQueueService included in Google AppEngine.
package org.queue4gae.queue;
/**
* Makes the request to TaskQueueService
*/
public interface QueueService {
/** the URL that receives queue tasks */
public static final String TASK_URL = "queue4gae.taskUrl";
/**
* Post the task in a queue for a deferred execution
*/
public void post(Task task);
/**
* Execute the task in the current Thread.
*/
void run(Task task);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy