Rice Pastry API

rice.environment.processing.simple
Class WorkQueue

java.lang.Object
  extended by rice.environment.processing.simple.WorkQueue

public class WorkQueue
extends java.lang.Object

Author:
Jeff Hoye

Constructor Summary
WorkQueue()
           
WorkQueue(int capacity)
           
 
Method Summary
 WorkRequest dequeue()
           
 void destroy()
           
 void enqueue(WorkRequest request)
           
 int getLength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkQueue

public WorkQueue()

WorkQueue

public WorkQueue(int capacity)
Method Detail

getLength

public int getLength()

enqueue

public void enqueue(WorkRequest request)

dequeue

public WorkRequest dequeue()

destroy

public void destroy()

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection