| Package | Description | 
|---|---|
| com.hazelcast.client | 
 Contains classes/interfaces related to Client 
 | 
| com.hazelcast.core | 
 Provides core API interfaces/classes. 
 | 
| com.hazelcast.instance.impl | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ClientOutOfMemoryHandler
To clear resources of the client upon OutOfMemory 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
HazelcastClient.setOutOfMemoryHandler(OutOfMemoryHandler outOfMemoryHandler)
Sets OutOfMemoryHandler to be used when an OutOfMemoryError
 is caught by Hazelcast Client threads. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
Hazelcast.setOutOfMemoryHandler(OutOfMemoryHandler outOfMemoryHandler)
Sets  
OutOfMemoryHandler to be used when an OutOfMemoryError
 is caught by Hazelcast threads. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
com.hazelcast.instance.impl.DefaultOutOfMemoryHandler
Default OutOfMemoryHandler implementation that tries to release local resources (threads, connections, memory)
 immediately and disconnects members from the rest of the cluster. 
 | 
Copyright © 2020 Hazelcast, Inc.. All rights reserved.