public final class ClientDurableExecutorServiceProxy extends ClientProxy implements DurableExecutorService
DurableExecutorService.name| Constructor and Description |
|---|
ClientDurableExecutorServiceProxy(String serviceName,
String name,
ClientContext context) |
deregisterListener, destroy, destroyLocally, destroyRemotely, equals, getClient, getConnectedServerVersion, getContext, getDistributedObjectName, getId, getName, getPartitionKey, getSerializationService, getServiceName, hashCode, invoke, invoke, invokeOnAddress, invokeOnPartition, invokeOnPartitionInterruptibly, onDestroy, onShutdown, postDestroy, preDestroy, registerListener, setContext, toData, toObjectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdestroy, getName, getPartitionKey, getServiceNamepublic ClientDurableExecutorServiceProxy(String serviceName, String name, ClientContext context)
protected void onInitialize()
ClientProxyonInitialize in class ClientProxypublic <T> Future<T> retrieveResult(long taskId)
retrieveResult in interface DurableExecutorServicepublic void disposeResult(long taskId)
disposeResult in interface DurableExecutorServicepublic <T> Future<T> retrieveAndDisposeResult(long taskId)
retrieveAndDisposeResult in interface DurableExecutorServicepublic void executeOnKeyOwner(Runnable task, Object key)
executeOnKeyOwner in interface DurableExecutorServicepublic <T> DurableExecutorServiceFuture<T> submitToKeyOwner(Callable<T> task, Object key)
submitToKeyOwner in interface DurableExecutorServicepublic DurableExecutorServiceFuture<?> submitToKeyOwner(Runnable task, Object key)
submitToKeyOwner in interface DurableExecutorServicepublic <T> DurableExecutorServiceFuture<T> submit(Callable<T> task)
submit in interface DurableExecutorServicesubmit in interface ExecutorServicepublic <T> DurableExecutorServiceFuture<T> submit(Runnable task, T result)
submit in interface DurableExecutorServicesubmit in interface ExecutorServicepublic DurableExecutorServiceFuture<?> submit(Runnable task)
submit in interface DurableExecutorServicesubmit in interface ExecutorServicepublic <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException
invokeAll in interface ExecutorServiceInterruptedExceptionpublic <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException
invokeAll in interface ExecutorServiceInterruptedExceptionpublic <T> T invokeAny(Collection<? extends Callable<T>> tasks) throws InterruptedException, ExecutionException
invokeAny in interface ExecutorServiceInterruptedExceptionExecutionExceptionpublic <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
invokeAny in interface ExecutorServiceInterruptedExceptionExecutionExceptionTimeoutExceptionpublic boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
awaitTermination in interface ExecutorServiceInterruptedExceptionpublic void shutdown()
shutdown in interface ExecutorServicepublic List<Runnable> shutdownNow()
shutdownNow in interface ExecutorServicepublic boolean isShutdown()
isShutdown in interface ExecutorServicepublic boolean isTerminated()
isTerminated in interface ExecutorServiceCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.