diff options
Diffstat (limited to 'src/main/java/io/trygvis/queue/AsyncService.java')
-rwxr-xr-x | src/main/java/io/trygvis/queue/AsyncService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/trygvis/queue/AsyncService.java b/src/main/java/io/trygvis/queue/AsyncService.java index de0a1af..f792f5e 100755 --- a/src/main/java/io/trygvis/queue/AsyncService.java +++ b/src/main/java/io/trygvis/queue/AsyncService.java @@ -4,11 +4,11 @@ import org.quartz.*; public interface AsyncService<QueueRef extends AsyncService.QueueRef, ExecutionRef extends AsyncService.ExecutionRef> {
- void registerQueue(String name, int interval, AsyncCallable callable) throws SchedulerException;
+ JpaAsyncService.JpaQueueRef registerQueue(String name, int interval, AsyncCallable callable) throws SchedulerException;
QueueRef getQueue(String name);
- ExecutionRef schedule(QueueRef queue);
+ ExecutionRef schedule(QueueRef queue, String... args);
interface QueueRef {
}
|