/openjdk7/jdk/src/share/classes/com/sun/jdi/event/ |
H A D | EventQueue.java | 77 * @param timeout Time in milliseconds to wait for the next event 78 * @return the next {@link EventSet}, or null if there is a timeout. 84 * @throws IllegalArgumentException if the timeout argument 87 EventSet remove(long timeout) throws InterruptedException; argument
|
H A D | MonitorWaitEvent.java | 64 public long timeout(); method in interface:MonitorWaitEvent
|
/openjdk7/jdk/test/java/net/Socket/ |
H A D | InheritTimeout.java | 28 * the timeout to be inherited by accepted connections 38 int timeout; field in class:InheritTimeout.Reaper 40 Reaper(Socket s, int timeout) { argument 42 this.timeout = timeout; 47 Thread.currentThread().sleep(timeout);
|
/openjdk7/jdk/test/java/net/Socket/asyncClose/ |
H A D | DatagramSocket_receive.java | 32 int timeout = 0; field in class:DatagramSocket_receive 37 public DatagramSocket_receive(int timeout) { argument 38 this.timeout = timeout; 43 if (timeout > 0) { 44 s += " (timeout specified)"; 56 if (timeout > 0) { 57 s.setSoTimeout(timeout);
|
H A D | ServerSocket_accept.java | 32 int timeout = 0; field in class:ServerSocket_accept 37 public ServerSocket_accept(int timeout) { argument 38 this.timeout = timeout; 43 if (timeout > 0) { 44 s += " (with timeout)";
|
H A D | Socket_getInputStream_read.java | 33 int timeout = 0; field in class:Socket_getInputStream_read 38 public Socket_getInputStream_read(int timeout) { argument 39 this.timeout = timeout; 44 if (timeout > 0) { 45 s += " (with timeout)"; 55 if (timeout > 0) { 56 s.setSoTimeout(timeout);
|
/openjdk7/jdk/src/share/classes/javax/smartcardio/ |
H A D | CardTerminal.java | 99 * Waits until a card is present in this terminal or the timeout 100 * expires. If the method returns due to an expired timeout, it returns 106 * @param timeout if positive, block for up to <code>timeout</code> 108 * @return false if the method returns due to an expired timeout, 111 * @throws IllegalArgumentException if timeout is negative 114 public abstract boolean waitForCardPresent(long timeout) throws CardException; argument 117 * Waits until a card is absent in this terminal or the timeout 118 * expires. If the method returns due to an expired timeout, it returns 124 * @param timeout i 132 waitForCardAbsent(long timeout) argument [all...] |
H A D | CardTerminals.java | 146 * object or until the timeout expires. 156 * <p>If <code>timeout</code> is greater than 0, the method returns after 157 * <code>timeout</code> milliseconds even if there is no change in state. 174 * @param timeout if positive, block for up to <code>timeout</code> 176 * @return false if the method returns due to an expired timeout, 181 * @throws IllegalArgumentException if timeout is negative 184 public abstract boolean waitForChange(long timeout) throws CardException; argument
|
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | WatchService.java | 145 * @param timeout 148 * a {@code TimeUnit} determining how to interpret the timeout 159 WatchKey poll(long timeout, TimeUnit unit) argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/ |
H A D | AWTLockAccess.java | 32 static native void awtWait(long timeout); argument
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/pept/transport/ |
H A D | Selector.java | 33 public void setTimeout(long timeout); argument
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Object.java | 320 * {@code timeout} is zero, however, then real time is not taken into 344 * obj.wait(timeout); 370 * @param timeout the maximum time to wait in milliseconds. 371 * @exception IllegalArgumentException if the value of timeout is 383 public final native void wait(long timeout) throws InterruptedException; argument 398 * 1000000*timeout+nanos</pre></blockquote> 411 * <li>The timeout period, specified by {@code timeout} 424 * obj.wait(timeout, nanos); 433 * @param timeout th 447 wait(long timeout, int nanos) argument [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | Inet4AddressImpl.java | 38 private native boolean isReachable0(byte[] addr, int timeout, byte[] ifaddr, int ttl) throws IOException; argument 56 public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws IOException { argument 70 return isReachable0(addr.getAddress(), timeout, ifaddr, ttl);
|
H A D | InetAddressImpl.java | 46 boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, argument
|
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | Selector.java | 306 * thread is interrupted, or the given timeout period expires, whichever 310 * timeout as if by invoking the {@link Object#wait(long)} method. </p> 312 * @param timeout If positive, block for up to <tt>timeout</tt> 327 * If the value of the timeout argument is negative 329 public abstract int select(long timeout) argument
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | CompletionService.java | 116 * @param timeout how long to wait before giving up, in units of 119 * <tt>timeout</tt> parameter 125 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; argument
|
H A D | Future.java | 157 * @param timeout the maximum time to wait 158 * @param unit the time unit of the timeout argument 167 V get(long timeout, TimeUnit unit) argument
|
H A D | TransferQueue.java | 109 * before the timeout elapses. 119 * @param timeout how long to wait before giving up, in units of 122 * {@code timeout} parameter 134 boolean tryTransfer(E e, long timeout, TimeUnit unit) argument
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/ |
H A D | NotificationBuffer.java | 39 * no longer than <code>timeout</code>, and will return no more 44 * timeout.</p> 51 * @param timeout the maximum time to wait. May be 0 to indicate 64 long timeout, 62 fetchNotifications(NotificationBufferFilter filter, long startSequenceNumber, long timeout, int maxNotifications) argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | CompletedFuture.java | 66 public T get(long timeout, TimeUnit unit) throws ExecutionException { argument
|
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | SocketInputStream.c | 63 jint off, jint len, jint timeout) 102 if (timeout) { 103 nread = NET_Timeout(fd, timeout); 61 Java_java_net_SocketInputStream_socketRead0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len, jint timeout) argument
|
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/ |
H A D | B6401598.java | 127 static HttpURLConnection getHttpURLConnection(URL url, int timeout) throws IOException { argument 132 httpURLConnection.setReadTimeout(timeout);
|
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/ |
H A D | AdaptDatagramSocket.java | 91 int timeout, boolean shouldTimeout, 117 if (timeout > 0) 118 ds.setSoTimeout(timeout); 119 out.println("timeout: " + ds.getSoTimeout()); 90 test(InetSocketAddress dst, int timeout, boolean shouldTimeout, boolean connect) argument
|
/openjdk7/jdk/test/java/nio/channels/ServerSocketChannel/ |
H A D | AdaptServerSocket.java | 78 static void test(int clientDally, int timeout, boolean shouldTimeout) argument 87 if (timeout != 0) 88 sso.setSoTimeout(timeout); 89 out.println("timeout: " + sso.getSoTimeout());
|
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | AdaptSocket.java | 39 int timeout, 63 if (timeout == 0) 67 so.connect(isa, timeout); 117 int timeout, 132 if (timeout > 0) 133 so.setSoTimeout(timeout); 134 out.println("timeout: " + so.getSoTimeout()); 154 // this test no longer really test the connection timeout 38 test(TestServers.DayTimeServer dayTimeServer, int timeout, boolean shouldTimeout) argument 116 testRead(TestServers.EchoServer echoServer, int timeout, boolean shouldTimeout) argument
|