Home
last modified time | relevance | path

Searched defs:timeout (Results 1 – 25 of 121) sorted by relevance

12345

/libcore/ojluni/src/main/java/java/util/concurrent/
DBlockingDeque.java324 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst()
346 boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast()
380 E pollFirst(long timeout, TimeUnit unit) in pollFirst()
396 E pollLast(long timeout, TimeUnit unit) in pollLast()
513 boolean offer(E e, long timeout, TimeUnit unit) in offer()
564 E poll(long timeout, TimeUnit unit) in poll()
DExecutorService.java200 boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination()
309 long timeout, TimeUnit unit) in invokeAll()
358 long timeout, TimeUnit unit) in invokeAny()
DBlockingQueue.java253 boolean offer(E e, long timeout, TimeUnit unit) in offer()
277 E poll(long timeout, TimeUnit unit) in poll()
DFuture.java168 V get(long timeout, TimeUnit unit) in get()
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DSelectorImpl.java48 protected abstract int doSelect(long timeout) throws java.io.IOException; in doSelect()
50 private int lockAndDoSelect(long timeout) throws java.io.IOException { in lockAndDoSelect()
54 public int select(long timeout) throws java.io.IOException { in select()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInet6AddressImpl.java55 java.net.InetAddress addr, int timeout, java.net.NetworkInterface netif, int ttl) in isReachable()
61 java.net.InetAddress addr, int timeout, java.net.InetAddress sourceAddr, int ttl) in tcpEcho()
67 java.net.InetAddress addr, int timeout, java.net.InetAddress sourceAddr, int ttl) in icmpEcho()
DSocksSocketImpl.java50 private synchronized void privilegedConnect(java.lang.String host, int port, int timeout) in privilegedConnect()
55 private void superConnectServer(java.lang.String host, int port, int timeout) in superConnectServer()
97 protected void connect(java.net.SocketAddress endpoint, int timeout) in connect()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DObject.annotated.java50 public final void wait(long timeout) throws java.lang.InterruptedException { throw new RuntimeExcep… in wait()
52 public final native void wait(long timeout, int nanos) throws java.lang.InterruptedException; in wait()
/libcore/ojluni/src/main/java/sun/nio/ch/
DSelectorImpl.java78 protected abstract int doSelect(long timeout) throws IOException; in doSelect()
80 private int lockAndDoSelect(long timeout) throws IOException { in lockAndDoSelect()
92 public int select(long timeout) in select()
DAsynchronousSocketChannelImpl.java218 long timeout, in implRead()
227 long timeout, in read()
288 long timeout, in read()
304 long timeout, in read()
327 long timeout, in implWrite()
336 long timeout, in write()
392 long timeout, in write()
406 long timeout, in write()
DPollArrayWrapper.java114 int poll(int numfds, int offset, long timeout) { in poll()
123 private native int poll0(long pollAddress, int numfds, long timeout); in poll0()
DServerSocketAdaptor.java48 private volatile int timeout = 0; field in ServerSocketAdaptor
152 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DCache.java54 public abstract void setTimeout(int timeout); in setTimeout()
62 public static <K, V> sun.security.util.Cache<K, V> newSoftMemoryCache(int size, int timeout) { in newSoftMemoryCache()
75 public static <K, V> sun.security.util.Cache<K, V> newHardMemoryCache(int size, int timeout) { in newHardMemoryCache()
/libcore/ojluni/src/main/java/java/net/
DAbstractPlainSocketImpl.java52 int timeout; // timeout in millisec field in AbstractPlainSocketImpl
200 protected void connect(SocketAddress address, int timeout) in connect()
226 private void connectToAddress(InetAddress address, int port, int timeout) throws IOException { in connectToAddress()
228 doConnect(InetAddress.getLocalHost(), port, timeout); in connectToAddress() local
379 synchronized void doConnect(InetAddress address, int port, int timeout) throws IOException { in doConnect()
768 abstract void socketConnect(InetAddress address, int port, int timeout) in socketConnect()
DSocketInputStream.java99 int timeout) in socketRead0()
117 int timeout) in socketRead()
147 int read(byte b[], int off, int length, int timeout) throws IOException { in read()
DInet6AddressImpl.java174 …public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws … in isReachable()
217 private boolean tcpEcho(InetAddress addr, int timeout, InetAddress sourceAddr, int ttl) in tcpEcho()
241 protected boolean icmpEcho(InetAddress addr, int timeout, InetAddress sourceAddr, int ttl) in icmpEcho()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DObject.java71 public final void wait(long timeout) throws java.lang.InterruptedException { in wait()
75 public final native void wait(long timeout, int nanos) throws java.lang.InterruptedException; in wait()
/libcore/ojluni/src/main/native/
DPollArrayWrapper.c42 ipoll(struct pollfd fds[], unsigned int nfds, int timeout) in ipoll()
74 jlong timeout) in Java_sun_nio_ch_PollArrayWrapper_poll0()
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousSocketChannel.java402 long timeout, in read()
512 long timeout, in read()
559 long timeout, in write()
663 long timeout, in write()
/libcore/ojluni/annotations/mmodule/java/net/
DInetAddress.annotated.java58 public boolean isReachable(int timeout) throws java.io.IOException { throw new RuntimeException("St… in isReachable()
60 public boolean isReachable(java.net.NetworkInterface netif, int ttl, int timeout) throws java.io.IO… in isReachable()
62 public boolean isReachableByICMP(int timeout) throws java.io.IOException { throw new RuntimeExcepti… in isReachableByICMP()
/libcore/ojluni/src/main/java/java/lang/
DObject.java441 public final void wait(long timeout) throws InterruptedException { in wait()
527 public final native void wait(long timeout, int nanos) throws InterruptedException; in wait()
/libcore/ojluni/src/main/java/java/nio/file/
DWatchService.java159 WatchKey poll(long timeout, TimeUnit unit) in poll()
/libcore/luni/src/test/java/libcore/java/net/
DServerSocketConcurrentCloseTest.java211 public boolean awaitStart(long timeout, TimeUnit timeUnit) throws InterruptedException { in awaitStart()
248 public boolean awaitStart(long timeout, TimeUnit timeUnit) throws InterruptedException { in awaitStart()
252 public boolean awaitShutdown(long timeout, TimeUnit timeUnit) throws InterruptedException { in awaitShutdown()
/libcore/luni/src/main/java/java/lang/ref/
DFinalizerReference.java93 public static void finalizeAllEnqueued(long timeout) throws InterruptedException { in finalizeAllEnqueued()
161 synchronized void awaitFinalization(long timeout) throws InterruptedException { in awaitFinalization()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DTestUtils.java41 public static boolean waitWhileTrueOrTimeout(Duration timeout, BooleanSupplier conditionFn) { in waitWhileTrueOrTimeout()

12345