private void closeInternal() { try { try { directory.innerClose(); // this closes the distributorDirectory as well } finally { onClose.accept(shardLock); } } catch (IOException e) { logger.debug("failed to close directory", e); } finally { IOUtils.closeWhileHandlingException(shardLock); } }
private void closeInternal() { try { try { directory.innerClose(); // this closes the distributorDirectory as well } finally { onClose.handle(shardLock); } } catch (IOException e) { logger.debug("failed to close directory", e); } finally { IOUtils.closeWhileHandlingException(shardLock); } }
private void closeInternal() { try { try { directory.innerClose(); // this closes the distributorDirectory as well } finally { onClose.accept(shardLock); } } catch (IOException e) { logger.debug("failed to close directory", e); } finally { IOUtils.closeWhileHandlingException(shardLock); } }
private void closeInternal() { try { try { directory.innerClose(); // this closes the distributorDirectory as well } finally { onClose.handle(shardLock); } } catch (IOException e) { logger.debug("failed to close directory", e); } finally { IOUtils.closeWhileHandlingException(shardLock); } }
private void closeInternal() { try { try { directory.innerClose(); // this closes the distributorDirectory as well } finally { onClose.accept(shardLock); } } catch (IOException e) { logger.debug("failed to close directory", e); } finally { IOUtils.closeWhileHandlingException(shardLock); } }