public final void write (final String targetName, final ByteBuffer src, final int logicalBlockAddress, final long transferLength) throws NoSuchSessionException , TaskExecutionException {
try {
multiThreadedWrite(targetName, src, logicalBlockAddress, transferLength).get();
} catch (final InterruptedException exc) {
throw new TaskExecutionException(exc);
} catch (final ExecutionException exc) {
throw new TaskExecutionException(exc);
}
}