public final class OutOfMemoryErrorDispatcher extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OutOfMemoryErrorDispatcher.Helper |
Modifier and Type | Method and Description |
---|---|
static void |
deregister(HazelcastInstance instance) |
static void |
inspectOutputMemoryError(Throwable throwable) |
static void |
onOutOfMemory(OutOfMemoryError outOfMemoryError)
Signals the OutOfMemoryErrorDispatcher that an OutOfMemoryError happened.
|
static void |
register(HazelcastInstance instance) |
static void |
setClientHandler(OutOfMemoryHandler outOfMemoryHandler) |
static void |
setHandler(OutOfMemoryHandler outOfMemoryHandler) |
public static void setHandler(OutOfMemoryHandler outOfMemoryHandler)
public static void setClientHandler(OutOfMemoryHandler outOfMemoryHandler)
public static void register(HazelcastInstance instance)
public static void deregister(HazelcastInstance instance)
public static void inspectOutputMemoryError(Throwable throwable)
public static void onOutOfMemory(OutOfMemoryError outOfMemoryError)
outOfMemoryError
- the out of memory errorCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.