|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antiaction.mayhem.core.ObjectBroker
public class ObjectBroker
ObjectBroker.
| Constructor Summary | |
|---|---|
ObjectBroker()
Instantiate an empty broker. |
|
| Method Summary | |
|---|---|
boolean |
init(java.util.HashMap props)
Initialize object with specified properties. |
void |
insert(java.lang.Object obj)
|
java.lang.Object |
remove()
Returns an object from the queue or blocks until one arrives. |
java.lang.Object |
remove(long timeout)
Returns an object from the queue or blocks until one arrives or the call is timed out. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectBroker()
| Method Detail |
|---|
public boolean init(java.util.HashMap props)
IObjectBroker
init in interface IObjectBrokerprops - init properties.public void insert(java.lang.Object obj)
insert in interface IObjectBrokerpublic java.lang.Object remove()
IObjectBroker
remove in interface IObjectBrokerIObjectBroker.remove(long)public java.lang.Object remove(long timeout)
IObjectBroker
remove in interface IObjectBrokerIObjectBroker.remove()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||