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