org.globus.ogsa.server
Class ServiceRequestQueue

java.lang.Object
  extended byorg.globus.ogsa.server.ServiceRequestQueue

public class ServiceRequestQueue
extends java.lang.Object

queue managing multithreaded request enqueuing and dequeueing


Constructor Summary
ServiceRequestQueue()
           
 
Method Summary
 ServiceRequest dequeue()
           
 int enqueue(ServiceRequest request)
           
 void stopThreads(int threads)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceRequestQueue

public ServiceRequestQueue()
Method Detail

dequeue

public ServiceRequest dequeue()
                       throws java.util.NoSuchElementException,
                              java.lang.InterruptedException
Throws:
java.util.NoSuchElementException
java.lang.InterruptedException

enqueue

public int enqueue(ServiceRequest request)

stopThreads

public void stopThreads(int threads)


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.