public class ExecutorServiceProxy extends Object implements ExecutorService
| Constructor and Description |
|---|
ExecutorServiceProxy(Node node,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long timeout,
TimeUnit unit)
Hazelcast ExecutorService cannot be really shut down.
|
void |
execute(Runnable command) |
String |
getName() |
List<Future> |
invokeAll(Collection tasks) |
List |
invokeAll(Collection tasks,
long timeout,
TimeUnit unit) |
Object |
invokeAny(Collection tasks) |
Object |
invokeAny(Collection tasks,
long timeout,
TimeUnit unit) |
boolean |
isShutdown()
Hazelcast ExecutorService cannot be really shut down.
|
boolean |
isTerminated()
Hazelcast ExecutorService cannot be really shut down.
|
void |
shutdown()
Hazelcast ExecutorService cannot be really shut down.
|
List<Runnable> |
shutdownNow()
Hazelcast ExecutorService cannot be really shut down.
|
<T> Future<T> |
submit(Callable<T> task) |
Future<?> |
submit(Runnable task) |
<T> Future<T> |
submit(Runnable task,
T result) |
public boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
awaitTermination in interface ExecutorServiceInterruptedExceptionpublic List<Future> invokeAll(Collection tasks) throws InterruptedException
invokeAll in interface ExecutorServiceInterruptedExceptionpublic List invokeAll(Collection tasks, long timeout, TimeUnit unit) throws InterruptedException
invokeAll in interface ExecutorServiceInterruptedExceptionpublic Object invokeAny(Collection tasks) throws InterruptedException, ExecutionException
invokeAny in interface ExecutorServiceInterruptedExceptionExecutionExceptionpublic Object invokeAny(Collection tasks, long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
invokeAny in interface ExecutorServiceInterruptedExceptionExecutionExceptionTimeoutExceptionpublic boolean isShutdown()
isShutdown in interface ExecutorServicepublic boolean isTerminated()
isTerminated in interface ExecutorServicepublic void shutdown()
shutdown in interface ExecutorServicepublic List<Runnable> shutdownNow()
shutdownNow in interface ExecutorServicepublic <T> Future<T> submit(Callable<T> task)
submit in interface ExecutorServicepublic Future<?> submit(Runnable task)
submit in interface ExecutorServicepublic <T> Future<T> submit(Runnable task, T result)
submit in interface ExecutorServicepublic String getName()
Copyright © 2013 Hazelcast, Inc.. All rights reserved.