/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | PendingFuture.java | 191 public V get(long timeout, TimeUnit unit) argument 197 if (!latch.await(timeout, unit)) throw new TimeoutException();
|
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | DevPollSelectorImpl.java | 76 protected int doSelect(long timeout) argument 84 pollWrapper.poll(timeout);
|
H A D | EPollSelectorImpl.java | 73 protected int doSelect(long timeout) throws IOException { argument 79 pollWrapper.poll(timeout);
|
H A D | EventPortSelectorImpl.java | 64 protected int doSelect(long timeout) throws IOException { argument 71 entries = pollWrapper.poll(timeout);
|
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 | DevPollArrayWrapper.java | 218 int poll(long timeout) throws IOException { argument 220 updated = poll0(pollArrayAddress, NUM_POLLFDS, timeout, wfd); 316 private native int poll0(long pollAddress, int numfds, long timeout, argument
|
H A D | EPollArrayWrapper.java | 255 int poll(long timeout) throws IOException { argument 257 updated = epollWait(pollArrayAddress, NUM_EPOLLEVENTS, timeout, epfd); 326 private native int epollWait(long pollAddress, int numfds, long timeout, argument
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | advancedThresholdPolicy.hpp | 185 inline bool is_stale(jlong t, jlong timeout, methodOop m);
|
/openjdk7/jdk/test/javax/management/remote/mandatory/connection/ |
H A D | IdleTimeoutTest.java | 154 System.out.println("Idle timeout test for protocol " + proto); 161 final long timeout = getIdleTimeout(mbs,url); 163 timeout + " ms"); 166 idleMap.put(EnvHelp.SERVER_CONNECTION_TIMEOUT, new Long(timeout)); 275 deadline = System.currentTimeMillis() + timeout*2 + 10000; 292 ">: idle timeout did not happen?");
|
/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 | Socket.java | 532 * Connects this socket to the server with a specified timeout value. 533 * A timeout of zero is interpreted as an infinite timeout. The connection 537 * @param timeout the timeout value to be used in milliseconds. 539 * @throws SocketTimeoutException if timeout expires before connecting 548 public void connect(SocketAddress endpoint, int timeout) throws IOException { argument 552 if (timeout < 0) 553 throw new IllegalArgumentException("connect: timeout can't be negative"); 579 impl.connect(epoint, timeout); 1095 setSoTimeout(int timeout) argument [all...] |
H A D | URLConnection.java | 366 * @throws SocketTimeoutException if the timeout expires before 377 * Sets a specified timeout value, in milliseconds, to be used 379 * by this URLConnection. If the timeout expires before the 381 * java.net.SocketTimeoutException is raised. A timeout of zero is 382 * interpreted as an infinite timeout. 385 * the specified timeout. To see the connect timeout set, please 388 * @param timeout an <code>int</code> that specifies the connect 389 * timeout value in milliseconds 390 * @throws IllegalArgumentException if the timeout paramete 396 setConnectTimeout(int timeout) argument 439 setReadTimeout(int timeout) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | DelayQueue.java | 165 * @param timeout This parameter is ignored as the method never blocks 170 public boolean offer(E e, long timeout, TimeUnit unit) { argument 245 public E poll(long timeout, TimeUnit unit) throws InterruptedException { argument 246 long nanos = unit.toNanos(timeout);
|
/openjdk7/jdk/src/windows/classes/java/net/ |
H A D | DualStackPlainDatagramSocketImpl.java | 110 return socketReceiveOrPeekData(nativefd, p, timeout, connected, true /*peek*/); 121 socketReceiveOrPeekData(nativefd, p, timeout, connected, false /*receive*/); 282 int timeout, boolean connected, boolean peek) throws IOException; 281 socketReceiveOrPeekData(int fd, DatagramPacket packet, int timeout, boolean connected, boolean peek) argument
|
/openjdk7/jdk/src/windows/native/java/net/ |
H A D | net_util_md.h | 292 JNIEXPORT int JNICALL NET_Timeout(int fd, long timeout); 304 * If timeout = -1, it blocks forever. 312 JNIEXPORT int JNICALL NET_Timeout2(int fd, int fd1, long timeout, int *fdret); 320 extern jint NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout);
|
/openjdk7/jdk/src/windows/transport/shmem/ |
H A D | shmem_md.c | 197 INFINITE); /* infinite timeout */ 259 sysEventWait(sys_process_t otherProcess, sys_event_t event, long timeout) argument 264 DWORD dwTimeout = (timeout == 0) ? INFINITE : (DWORD)timeout; 287 /* timeout */
|
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | NotificationBufferDeadlockTest.java | 284 public boolean waiting(long timeout) { argument 286 long toWait = timeout; 296 toWait = timeout -
|
/openjdk7/jdk/src/share/classes/sun/net/ftp/ |
H A D | FtpClient.java | 171 * Sets the default timeout value to use when connecting to the server, 173 * @param timeout the timeout value, in milliseconds, to use for the connect 174 * operation. A value of zero or less, means use the default timeout. 178 public abstract FtpClient setConnectTimeout(int timeout); argument 181 * Returns the current default connection timeout value. 183 * @return the value, in milliseconds, of the current connect timeout. 189 * Sets the timeout value to use when reading from the server, 191 * @param timeout the timeout valu 195 setReadTimeout(int timeout) argument 254 connect(SocketAddress dest, int timeout) argument [all...] |
/openjdk7/jdk/test/java/util/concurrent/Phaser/ |
H A D | Basic.java | 162 final long timeout, 168 if (timeout < 0) 172 timeout, 335 for (long timeout : new long[] { 0L, 5L }) { 337 Awaiter a1 = awaiter(phaser, timeout, SECONDS); a1.start(); 161 awaiter(final Phaser phaser, final long timeout, final TimeUnit unit) argument
|
/openjdk7/jdk/src/solaris/demo/jni/Poller/ |
H A D | Poller.c | 631 jintArray jfds, jshortArray jrevents, jlong timeout) 647 useEvents = poll(NULL,0L,timeout); 658 dopoll.dp_timeout = timeout; 700 useEvents = poll(ioeh->pfd,ioeh->last_index, timeout); 702 useEvents = poll(ioeh->pfd,ioeh->last_index, timeout); 621 Java_Poller_nativeWait(JNIEnv *env, jobject obj, jint handle, jint maxEvents, jintArray jfds, jshortArray jrevents, jlong timeout) argument
|
/openjdk7/jdk/src/share/classes/javax/management/timer/ |
H A D | Timer.java | 319 timer.schedule(alarmClock, alarmClock.timeout); 522 timer.schedule(alarmClock, alarmClock.timeout); 1063 * The associated TimerAlarmClock is updated by setting its timeout to the period value. 1108 timer.schedule(alarmClock, alarmClock.timeout); 1173 * the TimerAlarmClock has exceeded its timeout. 1199 // Update the notification and the TimerAlarmClock timeout. 1246 * The aim of this MBean is to set up an alarm which wakes up the timer every timeout (fixed-delay) 1253 long timeout = 10000; field in class:TimerAlarmClock 1262 public TimerAlarmClock(Timer listener, long timeout) { argument 1264 this.timeout [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/ |
H A D | DnsContext.java | 60 private int timeout; // initial timeout on UDP queries in ms field in class:DnsContext 67 // the defaults for the initial timeout (in ms) and the number of 73 "com.sun.jndi.dns.timeout.initial"; 74 private static final String RETRIES = "com.sun.jndi.dns.timeout.retries"; 139 timeout = ctx.timeout; 176 if (timeout != val) { 177 timeout = val; 210 if (timeout ! [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | SunToolkit.java | 261 public static final void awtLockWait(long timeout) argument 264 AWT_LOCK_COND.await(timeout, TimeUnit.MILLISECONDS); 1486 * @param timeout the maximum time to wait in milliseconds, negative means "forever". 1488 public void realSync(final long timeout) throws OperationTimedOut, InfiniteLoop argument 1505 syncNativeQueue(timeout); 1508 while (syncNativeQueue(timeout) && iters < MAX_ITERS) { 1524 waitForIdle(timeout); 1527 while (waitForIdle(timeout) && iters < MAX_ITERS) { 1538 } while ((syncNativeQueue(timeout) || waitForIdle(timeout)) 1549 syncNativeQueue(final long timeout) argument 1567 waitForIdle(final long timeout) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/ |
H A D | ArrayNotificationBuffer.java | 223 long timeout, 228 timeout, maxNotifications); 277 * no longer than <code>timeout</code>, and will return no more 282 * timeout.</p> 289 * @param timeout the maximum time to wait. May be 0 to indicate 302 long timeout, 318 || startSequenceNumber < 0 || timeout < 0 327 startSequenceNumber + "; timeout=" + timeout + 338 /* Determine the end time corresponding to the timeout valu 221 fetchNotifications(NotificationBufferFilter filter, long startSequenceNumber, long timeout, int maxNotifications) argument 300 fetchNotifications(NotificationBufferFilter filter, long startSequenceNumber, long timeout, int maxNotifications) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/daemon/ |
H A D | CommunicatorServer.java | 274 * @param timeout Time in ms to wait for the connector to start. 275 * If <code>timeout</code> is positive, wait for at most 276 * the specified time. An infinite timeout can be specified 277 * by passing a <code>timeout</code> value equals 280 * If timeout is negative or zero, returns as soon as possible 284 * timeout expires. 286 public void start(long timeout) argument 322 if (timeout > 0) waitForStart(timeout); 486 * <p>Waits until the communicator is started or timeout expire 502 waitForStart(long timeout) argument [all...] |