Lines Matching defs:position

49  * <p> An asynchronous file channel does not have a <i>current position</i>
50 * within the file. Instead, the file position is specified to each read and
396 * <p> The region specified by the {@code position} and {@code size}
427 * @param position
428 * The position at which the locked region is to start; must be
432 * {@code position}&nbsp;+&nbsp;{@code size} must be non-negative
454 public abstract <A> void lock(long position,
503 * @param position
504 * The position at which the locked region is to start; must be
508 * {@code position}&nbsp;+&nbsp;{@code size} must be non-negative
527 public abstract Future<FileLock> lock(long position, long size, boolean shared);
564 * @param position
565 * The position at which the locked region is to start; must be
570 * {@code position}&nbsp;+&nbsp;{@code size} must be non-negative
601 public abstract FileLock tryLock(long position, long size, boolean shared)
640 * starting at the given file position.
643 * channel into the given buffer, starting at the given file position. The
645 * position is greater than or equal to the file's size at the time that the
650 * method, except that bytes are read starting at the given file position.
651 * If the given file position is greater than the file's size at the time
656 * @param position
657 * The file position at which the transfer is to begin;
665 * If the position is negative or the buffer is read-only
670 long position,
676 * starting at the given file position.
679 * channel into the given buffer, starting at the given file position. This
682 * the number of bytes read or {@code -1} if the given position is greater
687 * read starting at the given file position. If the given file position is
693 * @param position
694 * The file position at which the transfer is to begin;
700 * If the position is negative or the buffer is read-only
704 public abstract Future<Integer> read(ByteBuffer dst, long position);
708 * at the given file position.
712 * method, except that bytes are written starting at the given file position.
713 * If the given position is greater than the file's size, at the time that
720 * @param position
721 * The file position at which the transfer is to begin;
729 * If the position is negative
734 long position,
740 * at the given file position.
743 * channel from the given buffer, starting at the given file position. The
750 * written starting at the given file position. If the given position is
758 * @param position
759 * The file position at which the transfer is to begin;
765 * If the position is negative
769 public abstract Future<Integer> write(ByteBuffer src, long position);