RExecutorService
, RScheduledExecutorService
, RScheduledExecutorServiceAsync
RedissonExecutorService
public interface RExecutorServiceAsync
ExecutorService
Modifier and Type | Method | Description |
---|---|---|
RFuture<Boolean> |
deleteAsync() |
Deletes executor request queue and state objects
|
RExecutorFuture<?> |
submitAsync(Runnable task) |
Submits task for execution asynchronously
|
RExecutorBatchFuture |
submitAsync(Runnable... tasks) |
Submits tasks batch for execution asynchronously.
|
RExecutorBatchFuture |
submitAsync(Callable<?>... tasks) |
Submits tasks batch for execution asynchronously.
|
<T> RExecutorFuture<T> |
submitAsync(Callable<T> task) |
Submits task for execution asynchronously
|
RFuture<Boolean> deleteAsync()
true
if any of objects were deleted<T> RExecutorFuture<T> submitAsync(Callable<T> task)
T
- type of return valuetask
- - task to executeRExecutorBatchFuture submitAsync(Callable<?>... tasks)
tasks
- - tasks to executeRExecutorFuture<?> submitAsync(Runnable task)
task
- - task to executeRExecutorBatchFuture submitAsync(Runnable... tasks)
tasks
- - tasks to executeCopyright © 2014–2018 The Redisson Project. All rights reserved.