/** * Await acknowledgments. * * @throws IOException If failed. */ private void awaitAcks() throws IOException { try { igfsCtx.data().awaitAllAcksReceived(fileInfo.id()); } catch (IgniteCheckedException e) { throw new IOException("Failed to wait for flush acknowledge: " + fileInfo.id, e); } }
/** * Await acknowledgments. * * @throws IOException If failed. */ private void awaitAcks() throws IOException { try { igfsCtx.data().awaitAllAcksReceived(fileInfo.id()); } catch (IgniteCheckedException e) { throw new IOException("Failed to wait for flush acknowledge: " + fileInfo.id, e); } }