Example #1
0
 @Override
 public void finalize() throws Throwable {
   try {
     shutDownExternal();
   } finally {
     super.finalize();
   }
 }
Example #2
0
  @Override
  public synchronized List<String> shutDown() throws InterruptedException {
    // there are couple of ways to shutdown. sysproc @kill could be
    // issued to listener. this would require that the test didn't
    // break the cluster somehow.  Or ... just old fashioned kill?

    try {
      if (m_localServer != null) m_localServer.shutdown();
    } finally {
      m_running = false;
    }
    shutDownExternal();

    return null;
  }