@Override public void close() throws Exception { super.close(); client.close(); }
@Override public void close() throws Exception { super.close(); din.close(); }
@Override public void close() throws Exception { cancel(); joinDiscoveryLoopThread(); Exception exception = null; if (partitionDiscoverer != null) { try { partitionDiscoverer.close(); } catch (Exception e) { exception = e; } } try { super.close(); } catch (Exception e) { exception = ExceptionUtils.firstOrSuppressed(e, exception); } if (exception != null) { throw exception; } }
@Override public void close() throws Exception { // pretty much the same logic as cancelling try { cancel(); } finally { super.close(); } }
@Override public void close() throws Exception { this.cancel(); super.close(); } }
@Override public void close() throws Exception { // pretty much the same logic as cancelling try { cancel(); } finally { super.close(); } }
@Override public void close() throws Exception { super.close(); if (localReaders != null) { for (UnboundedSource.UnboundedReader<OutputT> reader: localReaders) { reader.close(); } } }
@Override public void close() throws Exception { super.close(); if (localReaders != null) { for (UnboundedSource.UnboundedReader<OutputT> reader : localReaders) { reader.close(); } } }
@Override public void close() throws Exception { super.close(); if (readers != null) { for (BoundedSource.BoundedReader<OutputT> reader: readers) { reader.close(); } } }
@Override public void close() throws Exception { this.cancel(); super.close(); } }
@Override public void close() throws Exception { if (!closed) { service.close(); executorService.shutdown(); super.close(); logger.info("TableService " + getRuntimeContext().getTaskNameWithSubtasks() + " closed"); closed = true; } }
@Override public void close() throws Exception { try { super.close(); if (localReaders != null) { for (UnboundedSource.UnboundedReader<OutputT> reader : localReaders) { reader.close(); } } } finally { FlinkClassloading.deleteStaticCaches(); } }
@Override public void close() throws Exception { cancel(); joinDiscoveryLoopThread(); Exception exception = null; if (partitionDiscoverer != null) { try { partitionDiscoverer.close(); } catch (Exception e) { exception = e; } } try { super.close(); } catch (Exception e) { exception = ExceptionUtils.firstOrSuppressed(e, exception); } if (exception != null) { throw exception; } }