@Override public void close() { env.close(); try { reporter.close(); } catch (Exception e) { throw new RuntimeException(e); } } }
@Override public void close() throws IOException { if (ti != null) { ti.close(); } if (env != null) { env.close(); } }
@Override public void close() throws IOException { if (ti != null) { ti.close(); } if (env != null) { env.close(); } }
@Override public void close() { try { if (oserver != null) { notificationFinder.stop(); mnp.close(); oserver.stop(); env.close(); reporter.close(); if (cluster != null) { cluster.stop(); } } } catch (Exception e) { throw new RuntimeException(e); } }