Searched defs:completed (Results 1 - 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/channels/
H A DCompletionHandler.java33 * The {@link #completed completed} method is invoked when the I/O operation
48 * Invoked when an operation has completed.
55 void completed(V result, A attachment); method in interface:CompletionHandler
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DFutureLikeCompletionHandler.java28 public void completed(V result, Object attachment) { method in class:FutureLikeCompletionHandler
H A DAsynchronousFileChannelTest.java260 public void completed(Integer result, String attachment) { method in class:AsynchronousFileChannelTest.RecordingHandler
666 public void completed(Integer result, String attachment) {
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DCancellable.java45 private boolean completed; field in class:Cancellable
76 if (!completed) {
83 * Returns the exception thrown by the task or null if the task completed
102 completed = true;
H A DAbstractPoller.java163 private boolean completed = false; field in class:AbstractPoller.Request
181 this.completed = true;
194 while (!completed) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
H A DAbstractInterruptibleChannelTest.java131 void superEnd(boolean completed) throws AsynchronousCloseException { argument
132 super.end(completed);
/libcore/ojluni/src/main/java/java/nio/channels/spi/
H A DAbstractInterruptibleChannel.java53 * boolean completed = false;
56 * completed = ...; // Perform blocking I/O operation
59 * end(completed);
62 * <p> The <tt>completed</tt> argument to the {@link #end end} method tells
63 * whether or not the I/O operation actually completed, that is, whether it had
185 * @param completed
186 * <tt>true</tt> if, and only if, the I/O operation completed
196 protected final void end(boolean completed) argument
205 if (!completed && !open)
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
H A DThreadsTest.java152 /** whether the run has completed */
153 private boolean completed; field in class:ThreadsTest.Parker
198 completed = true;
212 if (! completed) {
217 if (! completed) {
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DAsynchronousFileChannelImpl.java98 protected final void end(boolean completed) throws IOException { argument
100 if (!completed && !isOpen())
/libcore/ojluni/src/main/java/java/util/stream/
H A DSliceOps.java566 private volatile boolean completed; field in class:SliceOps.SliceTask
615 completed = true;
639 completed = true;
652 if (completed)
662 * Determine if the number of completed elements in this node and nodes
670 long size = completed ? thisNodeSize : completedSize(target);
689 * Compute the number of completed elements in this node.
692 * number of completed elements is greater than or equal to the target
696 * @return return the number of completed elements
699 if (completed)
[all...]

Completed in 231 milliseconds