V
- public class DelegatingScheduledFutureStripper<V> extends Object implements ScheduledFuture<V>
DelegatingCallableTaskDecorator
for single-run Callable tasks.Constructor and Description |
---|
DelegatingScheduledFutureStripper(ScheduledFuture<V> original) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
int |
compareTo(Delayed o) |
boolean |
equals(Object o) |
V |
get() |
V |
get(long timeout,
TimeUnit unit) |
long |
getDelay(TimeUnit unit) |
int |
hashCode() |
boolean |
isCancelled() |
boolean |
isDone() |
public DelegatingScheduledFutureStripper(ScheduledFuture<V> original)
public int compareTo(Delayed o)
compareTo
in interface Comparable<Delayed>
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled
in interface Future<V>
public V get() throws InterruptedException, ExecutionException
get
in interface Future<V>
InterruptedException
ExecutionException
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get
in interface Future<V>
InterruptedException
ExecutionException
TimeoutException
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.