|
jPOS 1.6.1 API Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpos.q2.QBeanSupport
org.jpos.q2.qbean.SpaceLet
public class SpaceLet
| Field Summary |
|---|
| Fields inherited from class org.jpos.q2.QBeanSupport |
|---|
stateString |
| Fields inherited from interface org.jpos.q2.QBean |
|---|
DESTROYED, FAILED, STARTED, STARTING, STOPPED, STOPPING |
| Constructor Summary | |
|---|---|
SpaceLet()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
in(java.lang.Object key)
Take an entry from the space, waiting forever until one exists. |
java.lang.Object |
in(java.lang.Object key,
long timeout)
Take an entry from the space, waiting a limited amount of time until one exists. |
void |
initService()
|
java.lang.Object |
inp(java.lang.Object key)
In probe takes an entry from the space if one exists, return null otherwise. |
void |
out(java.lang.Object key,
java.lang.Object value)
Write a new entry into the Space |
void |
out(java.lang.Object key,
java.lang.Object value,
long timeout)
Write a new entry into the Space, with an timeout value |
void |
push(java.lang.Object key,
java.lang.Object value)
Write a new entry at the head of a queue. |
void |
push(java.lang.Object key,
java.lang.Object value,
long timeout)
Write a new entry at the head of the queue with a timeout value |
java.lang.Object |
rd(java.lang.Object key)
Read an entry from the space, waiting forever until one exists. |
java.lang.Object |
rd(java.lang.Object key,
long timeout)
Read an entry from the space, waiting a limited amount of time until one exists. |
java.lang.Object |
rdp(java.lang.Object key)
Read probe reads an entry from the space if one exists, return null otherwise. |
void |
startService()
|
void |
stopService()
|
| Methods inherited from class org.jpos.q2.QBeanSupport |
|---|
destroy, getConfiguration, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getServer, getState, getStateAsString, init, isModified, running, setConfiguration, setLogger, setModified, setName, setPersist, setServer, setState, shutdownQ2, start, stop |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpaceLet()
| Method Detail |
|---|
public void initService()
throws ConfigurationException
ConfigurationExceptionpublic void startService()
public void stopService()
public void out(java.lang.Object key,
java.lang.Object value)
Space
out in interface Spacekey - Entry's keyvalue - Object value
public void out(java.lang.Object key,
java.lang.Object value,
long timeout)
Space
out in interface Spacekey - Entry's keyvalue - Object valuetimeout - timeout value
public void push(java.lang.Object key,
java.lang.Object value)
Space
push in interface Spacekey - Entry's keyvalue - Object value
public void push(java.lang.Object key,
java.lang.Object value,
long timeout)
Space
push in interface Spacekey - Entry's keyvalue - Object valuetimeout - timeout valuepublic java.lang.Object in(java.lang.Object key)
Space
in in interface Spacekey - Entry's key
public java.lang.Object rd(java.lang.Object key)
Space
rd in interface Spacekey - Entry's key
public java.lang.Object in(java.lang.Object key,
long timeout)
Space
in in interface Spacekey - Entry's keytimeout - millis to wait
public java.lang.Object rd(java.lang.Object key,
long timeout)
Space
rd in interface Spacekey - Entry's keytimeout - millis to wait
public java.lang.Object inp(java.lang.Object key)
Space
inp in interface Spacekey - Entry's key
public java.lang.Object rdp(java.lang.Object key)
Space
rdp in interface Spacekey - Entry's key
|
jPOS.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||