コード例 #1
0
 /**
  * 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);
 }
コード例 #2
0
 /**
  * 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);
 }
コード例 #3
0
 /**
  * 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);
 }
コード例 #4
0
 /**
  * Just inactivates <tt>HazelcastInstance</tt>; leaves threads, connections untouched.
  *
  * @param hazelcastInstance
  */
 protected final void inactivate(final HazelcastInstance hazelcastInstance) {
   OutOfMemoryErrorDispatcher.Helper.inactivate(hazelcastInstance);
 }