|
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.space.SpaceProxy
public class SpaceProxy
RMI Space Proxy
| Constructor Summary | |
|---|---|
SpaceProxy()
|
|
SpaceProxy(java.lang.String spaceUri)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Set |
getKeySet()
|
int |
hashCode()
|
java.io.Serializable |
in(java.io.Serializable key)
Take an entry from the space, waiting forever until one exists. |
java.io.Serializable |
in(java.io.Serializable key,
long timeout)
Take an entry from the space, waiting a limited amount of time until one exists. |
java.io.Serializable |
inp(java.io.Serializable key)
In probe takes an entry from the space if one exists, return null otherwise. |
void |
out(java.io.Serializable key,
java.io.Serializable value)
Write a new entry into the Space |
void |
out(java.io.Serializable key,
java.io.Serializable value,
long timeout)
Write a new leased entry into the Space. |
java.io.Serializable |
rd(java.io.Serializable key)
Read an entry from the space, waiting forever until one exists. |
java.io.Serializable |
rd(java.io.Serializable key,
long timeout)
Read an entry from the space, waiting a limited amount of time until one exists. |
java.io.Serializable |
rdp(java.io.Serializable key)
Read probe reads an entry from the space if one exists, return null otherwise. |
void |
setConfiguration(Configuration cfg)
|
void |
shutdown()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpaceProxy()
throws java.rmi.RemoteException
java.rmi.RemoteException
public SpaceProxy(java.lang.String spaceUri)
throws java.rmi.RemoteException
java.rmi.RemoteException| Method Detail |
|---|
public void out(java.io.Serializable key,
java.io.Serializable value)
throws java.rmi.RemoteException
RemoteSpace
out in interface RemoteSpacekey - Entry's keyvalue - Object value
java.rmi.RemoteException
public void out(java.io.Serializable key,
java.io.Serializable value,
long timeout)
throws java.rmi.RemoteException
RemoteSpace
out in interface RemoteSpacekey - Entry's keyvalue - Object valuetimeout - entry valid time
java.rmi.RemoteExceptionLeasedReference
public java.io.Serializable in(java.io.Serializable key)
throws java.rmi.RemoteException
RemoteSpace
in in interface RemoteSpacekey - Entry's key
java.rmi.RemoteException
public java.io.Serializable rd(java.io.Serializable key)
throws java.rmi.RemoteException
RemoteSpace
rd in interface RemoteSpacekey - Entry's key
java.rmi.RemoteException
public java.io.Serializable in(java.io.Serializable key,
long timeout)
throws java.rmi.RemoteException
RemoteSpace
in in interface RemoteSpacekey - Entry's keytimeout - millis to wait
java.rmi.RemoteException
public java.io.Serializable rd(java.io.Serializable key,
long timeout)
throws java.rmi.RemoteException
RemoteSpace
rd in interface RemoteSpacekey - Entry's keytimeout - millis to wait
java.rmi.RemoteException
public java.io.Serializable inp(java.io.Serializable key)
throws java.rmi.RemoteException
RemoteSpace
inp in interface RemoteSpacekey - Entry's key
java.rmi.RemoteException
public java.io.Serializable rdp(java.io.Serializable key)
throws java.rmi.RemoteException
RemoteSpace
rdp in interface RemoteSpacekey - Entry's key
java.rmi.RemoteExceptionpublic void shutdown()
public void setConfiguration(Configuration cfg)
throws ConfigurationException
setConfiguration in interface Configurablecfg - Configuration object
ConfigurationExceptionpublic java.util.Set getKeySet()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
jPOS.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||