Package org.redisson.api
Interface RExecutorFuture<V>
-
- Type Parameters:
V
- value
- All Superinterfaces:
<V>
,<V>
,RFuture<V>
- 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 getTaskId()
Returns scheduled task's id.-
Methods inherited from interface java.util.concurrent.
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
-
Methods inherited from interface org.redisson.api.RFuture
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cause, getNow, isSuccess, join, onComplete, sync, syncUninterruptibly
-
-
-
-
Method Detail
-
getTaskId
getTaskId()
Returns scheduled task's id. This id could be used for task cancellation.- Returns:
- task id
- See Also:
RExecutorService.cancelTask(String)
-
-