/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousSocketChannel.java | 331 CompletionHandler<Void,? super A> handler); in connect() 410 CompletionHandler<Integer,? super A> handler); in read() 423 CompletionHandler<Integer,? super A> handler) in read() 520 CompletionHandler<Long,? super A> handler); in read() 567 CompletionHandler<Integer,? super A> handler); in write() 579 CompletionHandler<Integer,? super A> handler) in write() 671 CompletionHandler<Long,? super A> handler); in write()
|
D | AsynchronousFileChannel.java | 471 CompletionHandler<FileLock,? super A> handler); in lock() 502 CompletionHandler<FileLock,? super A> handler) in lock() 689 CompletionHandler<Integer,? super A> handler); in read() 755 CompletionHandler<Integer,? super A> handler); in write()
|
D | AsynchronousByteChannel.java | 110 CompletionHandler<Integer,? super A> handler); in read() 189 CompletionHandler<Integer,? super A> handler); in write()
|
D | CompletionHandler.java | 45 public interface CompletionHandler<V,A> { interface
|
D | AsynchronousServerSocketChannel.java | 291 CompletionHandler<AsynchronousSocketChannel,? super A> handler); in accept()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | Invoker.java | 120 static <V,A> void invokeUnchecked(CompletionHandler<V,? super A> handler, in invokeUnchecked() 154 CompletionHandler<V,? super A> handler, in invokeDirect() 169 CompletionHandler<V,? super A> handler, in invoke() 209 final CompletionHandler<V,? super A> handler, in invokeIndirectly() 232 static <V,A> void invokeIndirectly(final CompletionHandler<V,? super A> handler, in invokeIndirectly() 282 CompletionHandler<V,? super A> handler = future.handler(); in invokeUnchecked() 298 CompletionHandler<V,? super A> handler = future.handler(); in invoke() 314 CompletionHandler<V,? super A> handler = future.handler(); in invokeIndirectly()
|
D | AsynchronousFileChannelImpl.java | 110 CompletionHandler<FileLock,? super A> handler); in implLock() 126 CompletionHandler<FileLock,? super A> handler) in lock() 214 CompletionHandler<Integer,? super A> handler); in implRead() 225 CompletionHandler<Integer,? super A> handler) in read() 235 CompletionHandler<Integer,? super A> handler); in implWrite() 247 CompletionHandler<Integer,? super A> handler) in write()
|
D | UnixAsynchronousSocketChannelImpl.java | 68 private CompletionHandler<Void,Object> connectHandler; 80 private CompletionHandler<Number,Object> readHandler; 90 private CompletionHandler<Number,Object> writeHandler; 295 CompletionHandler<Void,Object> handler = connectHandler; in finishConnect() 313 CompletionHandler<Void,? super A> handler) in implConnect() 359 this.connectHandler = (CompletionHandler<Void,Object>)handler; in implConnect() 400 CompletionHandler<Number,Object> handler = readHandler; in finishRead() 463 CompletionHandler<Number,Object> handler = null; 501 CompletionHandler<V,? super A> handler) in implRead() 548 this.readHandler = (CompletionHandler<Number,Object>)handler; in implRead() [all …]
|
D | PendingFuture.java | 42 private final CompletionHandler<V,? super A> handler; 60 CompletionHandler<V,? super A> handler, in PendingFuture() 71 CompletionHandler<V,? super A> handler, in PendingFuture() 91 CompletionHandler<V,? super A> handler() { in handler()
|
D | AsynchronousSocketChannelImpl.java | 195 CompletionHandler<Void,? super A> handler); in implConnect() 205 CompletionHandler<Void,? super A> handler) in connect() 221 CompletionHandler<V,? super A> handler); in implRead() 230 CompletionHandler<V,? super A> handler) in read() 291 CompletionHandler<Integer,? super A> handler) in read() 307 CompletionHandler<Long,? super A> handler) in read() 330 CompletionHandler<V,? super A> handler); in implWrite() 339 CompletionHandler<V,? super A> handler) in write() 395 CompletionHandler<Integer,? super A> handler) in write() 409 CompletionHandler<Long,? super A> handler) in write()
|
D | UnixAsynchronousServerSocketChannelImpl.java | 66 private CompletionHandler<AsynchronousSocketChannel,Object> acceptHandler; 109 CompletionHandler<AsynchronousSocketChannel,Object> handler; in implClose() 199 CompletionHandler<AsynchronousSocketChannel,Object> handler = acceptHandler; in onEvent() 272 CompletionHandler<AsynchronousSocketChannel,Object> handler) in implAccept()
|
D | AsynchronousServerSocketChannelImpl.java | 119 CompletionHandler<AsynchronousSocketChannel,Object> handler); in implAccept() 130 CompletionHandler<AsynchronousSocketChannel,? super A> handler) in accept() 134 implAccept(attachment, (CompletionHandler<AsynchronousSocketChannel,Object>)handler); in accept()
|
D | SimpleAsynchronousFileChannelImpl.java | 177 final CompletionHandler<FileLock,? super A> handler) in implLock() 291 final CompletionHandler<Integer,? super A> handler) in implRead() 347 final CompletionHandler<Integer,? super A> handler) in implWrite()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FutureLikeCompletionHandler.java | 19 import java.nio.channels.CompletionHandler; 22 public class FutureLikeCompletionHandler<V> implements CompletionHandler<V, Object> {
|
D | AsynchronousFileChannelTest.java | 29 import java.nio.channels.CompletionHandler; 254 static class RecordingHandler implements CompletionHandler<Integer, String> { 666 CompletionHandler<Integer, String> handler = new CompletionHandler<Integer, String>() { in testCustomExecutor() 706 static class LockHandler implements CompletionHandler<FileLock, Integer> {
|
/libcore/api/ |
D | current.txt | 6615 …method public <A> void read(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.… 6617 …method public <A> void write(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang… 6644 …ic abstract <A> void lock(long, long, boolean, A, java.nio.channels.CompletionHandler<java.nio.cha… 6645 …method public final <A> void lock(A, java.nio.channels.CompletionHandler<java.nio.channels.FileLoc… 6650 …tract <A> void read(java.nio.ByteBuffer, long, A, java.nio.channels.CompletionHandler<java.lang.In… 6656 …ract <A> void write(java.nio.ByteBuffer, long, A, java.nio.channels.CompletionHandler<java.lang.In… 6662 …method public abstract <A> void accept(A, java.nio.channels.CompletionHandler<java.nio.channels.As… 6675 …tract <A> void connect(java.net.SocketAddress, A, java.nio.channels.CompletionHandler<java.lang.Vo… 6681 …teBuffer, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.In… 6682 …method public final <A> void read(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java… [all …]
|
/libcore/ |
D | openjdk_java_files.bp | 393 "ojluni/src/main/java/java/nio/channels/CompletionHandler.java",
|
D | EXPECTED_UPSTREAM | 420 …java/java/nio/channels/CompletionHandler.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/jav…
|