Package org.redisson.api
Interface RExecutorFuture<V>
-
- Type Parameters:
V
- value
- All Known Subinterfaces:
RScheduledFuture<V>
- All Known Implementing Classes:
RedissonExecutorFuture
,RedissonScheduledFuture
public interface RExecutorFuture<V> extends RFuture<V>
Future object for submitted task- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getTaskId()
Returns scheduled task's id.-
Methods inherited from interface org.redisson.api.RFuture
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cause, getNow, isSuccess, removeListener, removeListeners, sync, syncUninterruptibly
-
-
-
-
Method Detail
-
getTaskId
String getTaskId()
Returns scheduled task's id. This id could be used for task cancellation.- Returns:
- task id
- See Also:
RExecutorService.cancelTask(String)
-
-