com.hazelcast.client
Class ClientOutOfMemoryHandler

java.lang.Object
  extended by com.hazelcast.core.OutOfMemoryHandler
      extended by com.hazelcast.instance.DefaultOutOfMemoryHandler
          extended by com.hazelcast.client.ClientOutOfMemoryHandler

public class ClientOutOfMemoryHandler
extends DefaultOutOfMemoryHandler

To clear resources of the client upon OutOfMemory


Field Summary
 
Fields inherited from class com.hazelcast.instance.DefaultOutOfMemoryHandler
FREE_MAX_PERCENTAGE_PROP
 
Constructor Summary
ClientOutOfMemoryHandler()
           
 
Method Summary
 void onOutOfMemory(OutOfMemoryError oome, HazelcastInstance[] hazelcastInstances)
           
 
Methods inherited from class com.hazelcast.instance.DefaultOutOfMemoryHandler
shouldHandle
 
Methods inherited from class com.hazelcast.core.OutOfMemoryHandler
inactivate, tryCloseConnections, tryShutdown, tryStopThreads
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientOutOfMemoryHandler

public ClientOutOfMemoryHandler()
Method Detail

onOutOfMemory

public void onOutOfMemory(OutOfMemoryError oome,
                          HazelcastInstance[] hazelcastInstances)
Overrides:
onOutOfMemory in class DefaultOutOfMemoryHandler


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.