Package | Description |
---|---|
com.hazelcast.spi.impl.eventservice.impl |
Contains the code for the
InternalEventService implementation. |
com.hazelcast.util |
This package contains classes to support the inner workings of Hazelcast
as well as some backports of newer Java features / data structures to
support older Java versions in a clean and nice way.
|
Modifier and Type | Class and Description |
---|---|
class |
FutureUtilExceptionHandler |
Modifier and Type | Field and Description |
---|---|
static FutureUtil.ExceptionHandler |
FutureUtil.IGNORE_ALL_EXCEPT_LOG_MEMBER_LEFT
Ignores all exceptions but still logs
MemberLeftException per future and just tries
to finish all of the given ones. |
static FutureUtil.ExceptionHandler |
FutureUtil.IGNORE_ALL_EXCEPTIONS
Ignores all exceptions
|
static FutureUtil.ExceptionHandler |
FutureUtil.RETHROW_EVERYTHING
Just rethrows all exceptions
|
static FutureUtil.ExceptionHandler |
FutureUtil.RETHROW_EXECUTION_EXCEPTION
This ExceptionHandler rethrows
ExecutionException s and logs
MemberLeftException s to the log. |
static FutureUtil.ExceptionHandler |
FutureUtil.RETHROW_TRANSACTION_EXCEPTION
Handler for transaction specific rethrown of exceptions.
|
Modifier and Type | Method and Description |
---|---|
static FutureUtil.ExceptionHandler |
FutureUtil.logAllExceptions(ILogger logger,
Level level)
This ExceptionHandler rethrows
ExecutionException s and logs
MemberLeftException s to the log. |
static FutureUtil.ExceptionHandler |
FutureUtil.logAllExceptions(ILogger logger,
String message,
Level level)
This ExceptionHandler rethrows
ExecutionException s and logs
MemberLeftException s to the log. |
static FutureUtil.ExceptionHandler |
FutureUtil.logAllExceptions(Level level)
This ExceptionHandler rethrows
ExecutionException s and logs
MemberLeftException s to the log. |
static FutureUtil.ExceptionHandler |
FutureUtil.logAllExceptions(String message,
Level level)
This ExceptionHandler rethrows
ExecutionException s and logs
MemberLeftException s to the log. |
Modifier and Type | Method and Description |
---|---|
static <V> Collection<V> |
FutureUtil.returnWithDeadline(Collection<Future<V>> futures,
long timeout,
TimeUnit timeUnit,
FutureUtil.ExceptionHandler exceptionHandler) |
static <V> Collection<V> |
FutureUtil.returnWithDeadline(Collection<Future<V>> futures,
long overallTimeout,
TimeUnit overallTimeUnit,
long perFutureTimeout,
TimeUnit perFutureTimeUnit,
FutureUtil.ExceptionHandler exceptionHandler) |
static void |
FutureUtil.waitWithDeadline(Collection<Future> futures,
long timeout,
TimeUnit timeUnit,
FutureUtil.ExceptionHandler exceptionHandler) |
static void |
FutureUtil.waitWithDeadline(Collection<Future> futures,
long overallTimeout,
TimeUnit overallTimeUnit,
long perFutureTimeout,
TimeUnit perFutureTimeUnit,
FutureUtil.ExceptionHandler exceptionHandler) |
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.