Searched refs:AsynchronousFileChannel (Results 1 - 18 of 18) sorted by relevance

/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DAsynchronousFileChannel.java72 * <p> An {@code AsynchronousFileChannel} is associated with a thread pool to
80 * directly by the initiating thread. When an {@code AsynchronousFileChannel} is
114 public abstract class AsynchronousFileChannel class in inherits:AsynchronousChannel
120 protected AsynchronousFileChannel() { method in class:AsynchronousFileChannel
241 public static AsynchronousFileChannel open(Path file,
295 public static AsynchronousFileChannel open(Path file, OpenOption... options)
340 public abstract AsynchronousFileChannel truncate(long size) throws IOException;
H A DFileLock.java37 * AsynchronousFileChannel#lock(long,long,boolean,Object,CompletionHandler) lock}
38 * or {@link AsynchronousFileChannel#tryLock(long,long,boolean) tryLock}
39 * methods of the {@link AsynchronousFileChannel} class.
185 protected FileLock(AsynchronousFileChannel channel,
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DBasic.java26 * @summary Unit test for AsynchronousFileChannel
48 AsynchronousFileChannel ch = AsynchronousFileChannel
81 static void testUsingCompletionHandlers(AsynchronousFileChannel ch)
114 static void testUsingWaitOnResult(AsynchronousFileChannel ch)
171 AsynchronousFileChannel ch = AsynchronousFileChannel
217 static void testInterruptHandlerThread(final AsynchronousFileChannel ch) {
242 static void testClosedChannel(AsynchronousFileChannel ch) {
308 AsynchronousFileChannel c
[all...]
H A DCustomThreadPool.java26 * @summary Unit test for java.nio.channels.AsynchronousFileChannel
42 AsynchronousFileChannel ch =
43 AsynchronousFileChannel.open(blah.toPath(), READ, WRITE);
H A DLotsOfWrites.java26 * @summary Stress AsynchronousFileChannel.write
47 private final AsynchronousFileChannel channel;
79 this.channel = AsynchronousFileChannel.open(file.toPath(), WRITE);
H A DLock.java27 * @summary Unit test for AsynchronousFileChannel#lock method
81 AsynchronousFileChannel ch = AsynchronousFileChannel
118 AsynchronousFileChannel ch = AsynchronousFileChannel
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DReleaseOnCloseDeadlock.java60 AsynchronousFileChannel ch = AsynchronousFileChannel.open(file, READ, WRITE);
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DFileLockImpl.java41 FileLockImpl(AsynchronousFileChannel channel, long position, long size, boolean shared)
H A DAsynchronousFileChannelImpl.java37 * Base implementation of AsynchronousFileChannel.
41 extends AsynchronousFileChannel
H A DSimpleAsynchronousFileChannelImpl.java37 * "Portable" implementation of AsynchronousFileChannel for use on operating
65 public static AsynchronousFileChannel open(FileDescriptor fdo,
126 public AsynchronousFileChannel truncate(long size) throws IOException {
/openjdk7/jdk/src/share/classes/java/nio/file/spi/
H A DFileSystemProvider.java479 * AsynchronousFileChannel#open(Path,Set,ExecutorService,FileAttribute[])
480 * AsynchronousFileChannel.open} method.
515 public AsynchronousFileChannel newAsynchronousFileChannel(Path path,
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsChannelFactory.java164 * Open/creates file, returning AsynchronousFileChannel to access the file
173 static AsynchronousFileChannel newAsynchronousFileChannel(String pathForWindows,
203 // create the AsynchronousFileChannel
H A DWindowsFileSystemProvider.java124 public AsynchronousFileChannel newAsynchronousFileChannel(Path path,
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixChannelFactory.java155 static AsynchronousFileChannel newAsynchronousFileChannel(UnixPath path,
H A DUnixFileSystemProvider.java183 public AsynchronousFileChannel newAsynchronousFileChannel(Path obj,
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DWindowsAsynchronousFileChannelImpl.java38 * Windows implementation of AsynchronousFileChannel using overlapped I/O.
98 public static AsynchronousFileChannel open(FileDescriptor fdo,
185 public AsynchronousFileChannel truncate(long size) throws IOException {
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystemProvider.java240 public AsynchronousFileChannel newAsynchronousFileChannel(Path path,
/openjdk7/jdk/make/java/nio/
H A DFILES_java.gmk36 java/nio/channels/AsynchronousFileChannel.java \

Completed in 3576 milliseconds