Searched defs:force (Results 1 - 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/
H A DMappedByteBuffer.java206 public final MappedByteBuffer force() { method in class:MappedByteBuffer
/libcore/ojluni/src/main/java/java/nio/channels/
H A DAsynchronousFileChannel.java63 * <li><p> Updates made to a file may be {@link #force <i>forced
371 * <p> This method is only guaranteed to force changes that were made to
375 * If {@code true} then this method is required to force changes
377 * storage; otherwise, it need only force content changes to be
386 public abstract void force(boolean metaData) throws IOException; method in class:AsynchronousFileChannel
H A DFileChannel.java69 * <li><p> Updates made to a file may be {@link #force <i>forced
534 * <p> This method is only guaranteed to force changes that were made to
536 * may not force changes that were made by modifying the content of a
539 * MappedByteBuffer#force force} method of the mapped byte buffer will
540 * force changes made to the buffer's content to be written. </p>
543 * If <tt>true</tt> then this method is required to force changes
545 * storage; otherwise, it need only force content changes to be
554 public abstract void force(boolean metaData) throws IOException; method in class:FileChannel
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DFileDispatcher.java39 abstract int force(FileDescriptor fd, boolean metaData) throws IOException; method in class:FileDispatcher
H A DSimpleAsynchronousFileChannelImpl.java155 public void force(boolean metaData) throws IOException { method in class:SimpleAsynchronousFileChannelImpl
162 n = nd.force(fdObj, metaData);
H A DFileDispatcherImpl.java92 int force(FileDescriptor fd, boolean metaData) throws IOException { method in class:FileDispatcherImpl
H A DFileChannelImpl.java416 public void force(boolean metaData) throws IOException { method in class:FileChannelImpl
426 rv = nd.force(fd, metaData);
989 // so force gc and re-attempt map
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DFileChannelTest.java178 * @tests java.nio.channels.FileChannel#force(boolean)
183 writeOnlyFileChannel.force(true);
192 * @tests java.nio.channels.FileChannel#force(boolean)
197 writeOnlyFileChannel.force(true);
203 writeOnlyFileChannel.force(false);
210 * @tests java.nio.channels.FileChannel#force(boolean)
213 // force on a read only file channel has no effect.
214 readOnlyFileChannel.force(true);
215 readOnlyFileChannel.force(false);
422 // force t
3124 public void force(boolean arg0) throws IOException { method in class:FileChannelTest.MockFileChannel
[all...]

Completed in 67 milliseconds