Searched defs:timeout (Results 101 - 125 of 227) sorted by relevance

12345678910

/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DEventPortWrapper.java147 int poll(long timeout) throws IOException { argument
178 int updated = port_getn(pfd, pollArrayAddress, POLL_MAX, timeout);
H A DPollArrayWrapper.java116 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 DPoller.java183 * 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 DSwingWorker.java610 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 DAbstractPlainDatagramSocketImpl.java46 /* 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 DDatagramSocket.java699 * 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 DServerSocket.java480 * @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 DSocketImpl.java103 * 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 DSocksSocketImpl.java80 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 DArrayBlockingQueue.java339 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 DExchanger.java262 * 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 DExecutors.java173 * 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 DFutureTask.java194 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 DLinkedBlockingQueue.java371 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 DPriorityBlockingQueue.java510 * @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 DTimeUnit.java52 * 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 DReentrantLock.java386 * <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 DRMIConnection.java1053 * 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 DServerNotifForwarder.java263 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 DSocketTransportService.java119 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 DKQueueArrayWrapper.java198 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 Dtransport.c42 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 Dmutex.hpp186 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 DmemSnapshot.hpp385 void wait(long timeout) { argument
388 locker.wait(true, timeout);
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DDevPollArrayWrapper.c156 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

Completed in 102 milliseconds

12345678910