|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.common.cluster.resource.Resource
com.continuent.tungsten.common.cluster.resource.Queue<T>
public class Queue<T>
| Field Summary |
|---|
| Fields inherited from class com.continuent.tungsten.common.cluster.resource.Resource |
|---|
childType, compositeMember, description, isContainer, isExecutable, name, type |
| Constructor Summary | |
|---|---|
Queue(java.lang.String name)
|
|
Queue(TungstenProperties props)
|
|
| Method Summary | |
|---|---|
java.util.Collection<T> |
getItems()
|
T |
getLastItem()
|
void |
put(T item)
|
void |
setName(java.lang.String name)
|
T |
take()
|
java.lang.String |
toString()
|
| Methods inherited from class com.continuent.tungsten.common.cluster.resource.Resource |
|---|
copyTo, describe, getChildType, getCompositeMember, getKey, getName, getType, isContainer, isExecutable, setChildType, setCompositeMember, setContainer, setExecutable, setType, toJSON, toProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Queue(TungstenProperties props)
public Queue(java.lang.String name)
| Method Detail |
|---|
public void setName(java.lang.String name)
setName in class Resourcename - the name to setpublic void put(T item)
public T take()
public java.lang.String toString()
toString in class Resourcepublic java.util.Collection<T> getItems()
public T getLastItem()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||