V - the return type of the Callable.call()public class ClientScheduledFutureProxy<V> extends ClientProxy implements IScheduledFuture<V>
IScheduledFuture.name| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
int |
compareTo(Delayed o) |
void |
dispose() |
V |
get() |
V |
get(long timeout,
TimeUnit unit) |
long |
getDelay(TimeUnit unit) |
ScheduledTaskHandler |
getHandler() |
ScheduledTaskStatistics |
getStats() |
boolean |
isCancelled() |
boolean |
isDone() |
deregisterListener, destroy, destroyLocally, destroyRemotely, equals, getClient, getConnectedServerVersion, getContext, getDistributedObjectName, getId, getName, getPartitionKey, getSerializationService, getServiceName, hashCode, invoke, invoke, invokeOnAddress, invokeOnPartition, invokeOnPartitionInterruptibly, onDestroy, onInitialize, onShutdown, postDestroy, preDestroy, registerListener, setContext, toData, toObjectpublic ScheduledTaskHandler getHandler()
getHandler in interface IScheduledFuture<V>public ScheduledTaskStatistics getStats()
getStats in interface IScheduledFuture<V>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>InterruptedExceptionExecutionExceptionpublic V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<V>InterruptedExceptionExecutionExceptionTimeoutExceptionpublic void dispose()
dispose in interface IScheduledFuture<V>Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.