public static void safeClose(ModelControllerClient mcc) { if (mcc != null) { try { mcc.close(); } catch (Exception e) { //ignore } } }
@Override public void close() throws IOException { client.close(); } }
@Override public void close() throws IOException { client.close(); } }
@Override public void close() throws IOException { wrapped.close(); } }
@Override public void close() throws IOException { client.close(); } }
@Override public void close() throws IOException { client.close(); } }
@Override public synchronized void stop(StopContext context) { try { modelControllerClient.close(); } catch (IOException ex) { // ignore } }
@Override public void close() throws IOException { if(closeClient) { client.close(); } }
@Override public void close() { if (this.connection != null) { try { this.connection.close(); } catch (Throwable t) { //ignore } this.connection = null; this.domainMode = false; } }
@Override public void close() throws IOException { controllerClient.close(); } }
@Override public void close() { if (this.connection != null) { try { this.connection.close(); } catch (Throwable t) { //ignore } this.connection = null; this.domainMode = false; } }
@Override public void run() { try { CommandExecutor.this.client.get().close(); } catch (IOException ioe) { // Do nothing. The close() method has given its best shot. } } }
@Override public void close() { try { client.close(); } catch (IOException e) { throw new RuntimeException(e); } }
public void shutdown() { try { client.close(); } catch (IOException e) { log.log(Level.ERROR, e.getMessage()); } }
public void shutdown() { try { client.close(); } catch (IOException e) { log.log(Level.ERROR, e.getMessage()); } }
@Override public void stop(StopContext context) { try { modelControllerClient.close(); } catch (IOException ex) { // ignore } super.stop(context); }
@Override public void close() throws IOException { provider.getDelegate().close(); } }
@Override public void close() throws IOException { Contexts existing = contextSelector.pushLocal(); try { delegate.close(); } finally { contextSelector.restore(existing); } } }
@Override public void close() throws IOException { client.close(); cliContext.disconnectController(); if (closedAt == null) { closedAt = new ThisIsWhereTheClientWasClosed(); } } }
@Override public void close() throws IOException { Contexts existing = contextSelector.pushLocal(); try { delegate.close(); } finally { contextSelector.restore(existing); } } }