|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.gridbus.broker.farming.common.JobBuffer
| Constructor Summary | |
JobBuffer()
|
|
| Method Summary | |
void |
clear()
Clears the queue buffer |
java.util.Collection |
clear(boolean returnContent)
Clears the queue buffer |
Job |
get()
Gets next available Job off the queue buffer. |
java.util.Collection |
get(int count)
Gets specified number of Jobs from the queue buffer |
int |
length()
Returns the number of Jobs currently in the queue buffer. |
void |
put(java.util.Collection jobs)
Put a group of jobs into the queue buffer |
void |
put(Job j)
Puts a job into the queue buffer |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JobBuffer()
| Method Detail |
public Job get()
public java.util.Collection get(int count)
count -
public void put(Job j)
j - public void put(java.util.Collection jobs)
jobs - public java.util.Collection clear(boolean returnContent)
returnContent - if set to true will return queue buffer content prior to clearing
public void clear()
public int length()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||