Save This Page
Home » openjdk-7 » sun » misc » [javadoc | source]
public class: RequestProcessor [javadoc | source]

All Implemented Interfaces:

The request processor allows functors (Request instances) to be created in arbitrary threads, and to be posted for execution in a non-restricted thread.
Method from sun.misc.RequestProcessor Summary:
postRequest,   run,   startProcessing
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.misc.RequestProcessor Detail:
 public static  void postRequest(Request req) 
    Queues a Request instance for execution by the request procesor thread.
 public  void run() 
    Process requests as they are queued.
 public static synchronized  void startProcessing() 
    This method initiates the request processor thread. It is safe to call it after the thread has been started. It provides a way for clients to deliberately control the context in which the request processor thread is created