/** * Tries to shutdown <tt>HazelcastInstance</tt> forcefully; including closing sockets and * connections, stopping threads etc. * * @param hazelcastInstance */ protected final void tryShutdown(final HazelcastInstance hazelcastInstance) { OutOfMemoryErrorDispatcher.Helper.tryShutdown(hazelcastInstance); }
/** * Tries to close server socket and connections to other <tt>HazelcastInstance</tt>s. * * @param hazelcastInstance */ protected final void tryCloseConnections(HazelcastInstance hazelcastInstance) { OutOfMemoryErrorDispatcher.Helper.tryCloseConnections(hazelcastInstance); }
/** * Tries to stop internal Hazelcast threads (such as service thread, IO threads, executor * threads). * * @param hazelcastInstance */ protected final void tryStopThreads(final HazelcastInstance hazelcastInstance) { OutOfMemoryErrorDispatcher.Helper.tryStopThreads(hazelcastInstance); }
/** * Just inactivates <tt>HazelcastInstance</tt>; leaves threads, connections untouched. * * @param hazelcastInstance */ protected final void inactivate(final HazelcastInstance hazelcastInstance) { OutOfMemoryErrorDispatcher.Helper.inactivate(hazelcastInstance); }