站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.lang.InterruptedException - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.lang.InterruptedException

Packages that use InterruptedException
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.image Provides classes for creating and modifying images. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.lang.ref Provides reference-object classes, which support a limited degree of interaction with the garbage collector. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of InterruptedException in java.awt
 

Methods in java.awt that throw InterruptedException
 void MediaTracker.waitForAll()
          Starts loading all images tracked by this media tracker.
 boolean MediaTracker.waitForAll(long ms)
          Starts loading all images tracked by this media tracker.
 void MediaTracker.waitForID(int id)
          Starts loading all images tracked by this media tracker with the specified identifier.
 boolean MediaTracker.waitForID(int id, long ms)
          Starts loading all images tracked by this media tracker with the specified identifier.
 AWTEvent EventQueue.getNextEvent()
          Remove an event from the EventQueue and return it.
static void EventQueue.invokeAndWait(Runnable runnable)
          Causes runnable to have its run() method called in the dispatch thread of the EventQueue.
 

Uses of InterruptedException in java.awt.image
 

Methods in java.awt.image that throw InterruptedException
 boolean PixelGrabber.grabPixels()
          Request the Image or ImageProducer to start delivering pixels and wait for all of the pixels in the rectangle of interest to be delivered.
 boolean PixelGrabber.grabPixels(long ms)
          Request the Image or ImageProducer to start delivering pixels and wait for all of the pixels in the rectangle of interest to be delivered or until the specified timeout has elapsed.
 

Uses of InterruptedException in java.lang
 

Methods in java.lang that throw InterruptedException
 void Object.wait(long timeout)
          Causes current thread to wait until either another thread invokes the Object.notify() method or the Object.notifyAll() method for this object, or a specified amount of time has elapsed.
 void Object.wait(long timeout, int nanos)
          Causes current thread to wait until another thread invokes the Object.notify() method or the Object.notifyAll() method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
 void Object.wait()
          Causes current thread to wait until another thread invokes the Object.notify() method or the Object.notifyAll() method for this object.
static void Thread.sleep(long millis)
          Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
static void Thread.sleep(long millis, int nanos)
          Causes the currently executing thread to sleep (cease execution) for the specified number of milliseconds plus the specified number of nanoseconds.
 void Thread.join(long millis)
          Waits at most millis milliseconds for this thread to die.
 void Thread.join(long millis, int nanos)
          Waits at most millis milliseconds plus nanos nanoseconds for this thread to die.
 void Thread.join()
          Waits for this thread to die.
abstract  int Process.waitFor()
          causes the current thread to wait, if necessary, until the process represented by this Process object has terminated.
 

Uses of InterruptedException in java.lang.ref
 

Methods in java.lang.ref that throw InterruptedException
 Reference ReferenceQueue.remove(long timeout)
          Removes the next reference object in this queue, blocking until either one becomes available or the given timeout period expires.
 Reference ReferenceQueue.remove()
          Removes the next reference object in this queue, blocking until one becomes available.
 

Uses of InterruptedException in javax.swing
 

Methods in javax.swing that throw InterruptedException
static void SwingUtilities.invokeAndWait(Runnable doRun)
          Causes doRun.run() to be executed synchronously on the AWT event dispatching thread.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.