Class ConfluenceOutOfMemoryHandler
java.lang.Object
com.hazelcast.core.OutOfMemoryHandler
com.atlassian.confluence.cluster.hazelcast.ConfluenceOutOfMemoryHandler
public class ConfluenceOutOfMemoryHandler
extends com.hazelcast.core.OutOfMemoryHandler
In a case of OOM error, default
OutOfMemoryHandler
shuts down Hazelcast instance and uregisters all
hazelcast servers. This implementation tries to carry on without shutting down the Hazelcast instance.- Since:
- 5.11
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onOutOfMemory
(OutOfMemoryError oom, com.hazelcast.core.HazelcastInstance[] hazelcastInstances) Methods inherited from class com.hazelcast.core.OutOfMemoryHandler
shouldHandle, tryCloseConnections, tryShutdown
-
Constructor Details
-
ConfluenceOutOfMemoryHandler
public ConfluenceOutOfMemoryHandler()
-
-
Method Details
-
onOutOfMemory
public void onOutOfMemory(OutOfMemoryError oom, com.hazelcast.core.HazelcastInstance[] hazelcastInstances) - Specified by:
onOutOfMemory
in classcom.hazelcast.core.OutOfMemoryHandler
-