/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | EventPortWrapper.java | 147 int poll(long timeout) throws IOException { argument 178 int updated = port_getn(pfd, pollArrayAddress, POLL_MAX, timeout);
|
H A D | PollArrayWrapper.java | 116 int poll(int numfds, int offset, long timeout) { argument 118 numfds, timeout); 125 private native int poll0(long pollAddress, int numfds, long timeout); argument
|
/openjdk7/jdk/src/solaris/demo/jni/Poller/ |
H A D | Poller.java | 183 * available data upon a successful non-timeout return. 192 * @param timeout the maximum number of milliseconds to wait for 196 * Note : convenience methods exist for skipping the timeout parameter 200 * obj.waitMultiple(null,null,timeout) can be used for pausing the LWP 204 long timeout) throws Exception 215 int ret = nativeWait(handle, maxRet, fds, revents, timeout); 223 * Wait on Multiple IO Objects (no timeout). 245 long timeout) throws Exception 248 return nativeWait(handle,0,null,null,timeout); 252 return nativeWait(handle, fds.length, fds, revents, timeout); 203 waitMultiple(int maxRet, int[] fds,short[] revents, long timeout) argument 244 waitMultiple(int[] fds, short[] revents, long timeout) argument 322 nativeWait(int handle, int maxRet, int[] fds, short[] events, long timeout) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | SwingWorker.java | 610 public final T get(long timeout, TimeUnit unit) throws InterruptedException, argument 612 return future.get(timeout, unit);
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | AbstractPlainDatagramSocketImpl.java | 46 /* timeout value for receive() */ 47 int timeout = 0; field in class:AbstractPlainDatagramSocketImpl 265 throw new IllegalArgumentException("timeout < 0"); 266 timeout = tmp; 325 result = new Integer(timeout);
|
H A D | DatagramSocket.java | 699 * and the timeout has expired. 845 /** Enable/disable SO_TIMEOUT with the specified timeout, in 846 * milliseconds. With this option set to a non-zero timeout, 848 * will block for only this amount of time. If the timeout expires, 852 * timeout must be > 0. 853 * A timeout of zero is interpreted as an infinite timeout. 855 * @param timeout the specified timeout in milliseconds. 860 public synchronized void setSoTimeout(int timeout) throw argument [all...] |
H A D | ServerSocket.java | 480 * @exception SocketTimeoutException if a timeout was previously set with setSoTimeout and 481 * the timeout has been reached. 619 * Enable/disable SO_TIMEOUT with the specified timeout, in 620 * milliseconds. With this option set to a non-zero timeout, 622 * will block for only this amount of time. If the timeout expires, 626 * timeout must be > 0. 627 * A timeout of zero is interpreted as an infinite timeout. 628 * @param timeout the specified timeout, i 634 setSoTimeout(int timeout) argument [all...] |
H A D | SocketImpl.java | 103 * A timeout of zero is interpreted as an infinite timeout. The connection 107 * @param timeout the timeout value, in milliseconds, or zero for no timeout. 112 protected abstract void connect(SocketAddress address, int timeout) throws IOException; argument
|
H A D | SocksSocketImpl.java | 80 final int timeout) 87 superConnectServer(host, port, timeout); 99 int timeout) throws IOException { 100 super.connect(new InetSocketAddress(host, port), timeout); 319 * @param timeout the timeout value in milliseconds 327 protected void connect(SocketAddress endpoint, int timeout) throws IOException { argument 330 if (timeout == 0) { 333 long finish = System.currentTimeMillis() + timeout; 78 privilegedConnect(final String host, final int port, final int timeout) argument 98 superConnectServer(String host, int port, int timeout) argument
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | ArrayBlockingQueue.java | 339 public boolean offer(E e, long timeout, TimeUnit unit) argument 343 long nanos = unit.toNanos(timeout); 381 public E poll(long timeout, TimeUnit unit) throws InterruptedException { argument 382 long nanos = unit.toNanos(timeout);
|
H A D | Exchanger.java | 262 * interruption, timeout, or elapsed spin-waits. This value is 549 * only upon return from timeout while waiting in slot 0. When a 665 * @param timeout the maximum time to wait 666 * @param unit the time unit of the <tt>timeout</tt> argument 673 public V exchange(V x, long timeout, TimeUnit unit) argument 677 true, unit.toNanos(timeout));
|
H A D | Executors.java | 173 * properties but different details (for example, timeout parameters) 633 public boolean awaitTermination(long timeout, TimeUnit unit) argument 635 return e.awaitTermination(timeout, unit); 651 long timeout, TimeUnit unit) 653 return e.invokeAll(tasks, timeout, unit); 660 long timeout, TimeUnit unit) 662 return e.invokeAny(tasks, timeout, unit); 650 invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument 659 invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
|
H A D | FutureTask.java | 194 public V get(long timeout, TimeUnit unit) argument 200 (s = awaitDone(true, unit.toNanos(timeout))) <= COMPLETING) 386 * Awaits completion or aborts on interrupt or timeout.
|
H A D | LinkedBlockingQueue.java | 371 public boolean offer(E e, long timeout, TimeUnit unit) argument 375 long nanos = unit.toNanos(timeout); 456 public E poll(long timeout, TimeUnit unit) throws InterruptedException { argument 459 long nanos = unit.toNanos(timeout);
|
H A D | PriorityBlockingQueue.java | 510 * @param timeout This parameter is ignored as the method never blocks 519 public boolean offer(E e, long timeout, TimeUnit unit) { argument 546 public E poll(long timeout, TimeUnit unit) throws InterruptedException { argument 547 long nanos = unit.toNanos(timeout);
|
H A D | TimeUnit.java | 52 * the following code will timeout in 50 milliseconds if the {@link 58 * while this code will timeout in 50 seconds: 64 * Note however, that there is no guarantee that a particular timeout 296 * This is a convenience method that converts timeout arguments 304 * public synchronized Object poll(long timeout, TimeUnit unit) 307 * unit.timedWait(this, timeout); 313 * @param timeout the maximum time to wait. If less than 317 public void timedWait(Object obj, long timeout) argument 319 if (timeout > 0) { 320 long ms = toMillis(timeout); 337 timedJoin(Thread thread, long timeout) argument 356 sleep(long timeout) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/ |
H A D | ReentrantLock.java | 386 * <pre>if (lock.tryLock() || lock.tryLock(timeout, unit) ) { ... } 433 * @param timeout the time to wait for the lock 434 * @param unit the time unit of the timeout argument 443 public boolean tryLock(long timeout, TimeUnit unit) argument 445 return sync.tryAcquireNanos(1, unit.toNanos(timeout));
|
/openjdk7/jdk/src/share/classes/javax/management/remote/rmi/ |
H A D | RMIConnection.java | 1053 * until the specified timeout is reached. The method can also 1077 * @param timeout the maximum time in milliseconds to wait for a 1081 * to indicate that there is no timeout. The behavior is 1090 long timeout) 1088 fetchNotifications(long clientSequenceNumber, int maxNotifications, long timeout) argument
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/ |
H A D | ServerNotifForwarder.java | 263 long timeout, 268 ", the timeout is " + timeout + 273 final long t = Math.min(connectionTimeout, timeout); 262 fetchNotifs(long startSequenceNumber, long timeout, int maxNotifications) argument
|
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/ |
H A D | SocketTransportService.java | 119 void handshake(Socket s, long timeout) throws IOException { argument 120 s.setSoTimeout((int)timeout); 132 throw new IOException("handshake timeout"); 146 // disable read timeout 185 * timeout. 194 throw new IllegalArgumentException("timeout is negative"); 318 throw new IllegalArgumentException("timeout is negative"); 340 // with a different accept timeout - that creates a same race 341 // condition between setting the timeout and calling accept. 350 throw new TransportTimeoutException("timeout waitin [all...] |
/openjdk7/jdk/src/macosx/classes/sun/nio/ch/ |
H A D | KQueueArrayWrapper.java | 198 int poll(long timeout) { argument 200 int updated = kevent0(kq, keventArrayAddress, NUM_KEVENTS, timeout); 213 long timeout); 212 kevent0(int kq, long keventAddress, int keventCount, long timeout) argument
|
/openjdk7/jdk/src/share/back/ |
H A D | transport.c | 42 long timeout; member in struct:TransportInfo 311 rc = (*t)->Accept(t, info->timeout, 0); 318 * If accept fails it probably means a timeout, or another fatal error 323 EXIT_ERROR(JVMTI_ERROR_NONE, "could not connect, timeout or fatal error"); 411 long timeout) 452 info->timeout = timeout; 526 err = (*trans)->Attach(trans, address, timeout, 0); 410 transport_startTransport(jboolean isServer, char *name, char *address, long timeout) argument
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | mutex.hpp | 186 long timeout = 0, 269 bool wait (bool no_safepoint_check, long timeout, bool as_suspend_equivalent) { argument
|
/openjdk7/hotspot/src/share/vm/services/ |
H A D | memSnapshot.hpp | 385 void wait(long timeout) { argument 388 locker.wait(true, timeout);
|
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | DevPollArrayWrapper.c | 156 jlong timeout, jint wfd) 164 a.dp_timeout = (int)timeout; 166 if (timeout <= 0) { /* Indefinite or no wait */ 154 Java_sun_nio_ch_DevPollArrayWrapper_poll0(JNIEnv *env, jobject this, jlong address, jint numfds, jlong timeout, jint wfd) argument
|