|
jPOS 1.6.5 API Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteSpace
RMI based Space proxy
Space| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void out(java.io.Serializable key,
java.io.Serializable value)
throws java.rmi.RemoteException
key - Entry's keyvalue - Object value
java.rmi.RemoteException
void out(java.io.Serializable key,
java.io.Serializable value,
long timeout)
throws java.rmi.RemoteException
key - Entry's keyvalue - Object valuetimeout - entry valid time
java.rmi.RemoteExceptionLeasedReference
java.io.Serializable in(java.io.Serializable key)
throws java.rmi.RemoteException
key - Entry's key
java.rmi.RemoteException
java.io.Serializable rd(java.io.Serializable key)
throws java.rmi.RemoteException
key - Entry's key
java.rmi.RemoteException
java.io.Serializable in(java.io.Serializable key,
long timeout)
throws java.rmi.RemoteException
key - Entry's keytimeout - millis to wait
java.rmi.RemoteException
java.io.Serializable rd(java.io.Serializable key,
long timeout)
throws java.rmi.RemoteException
key - Entry's keytimeout - millis to wait
java.rmi.RemoteException
java.io.Serializable inp(java.io.Serializable key)
throws java.rmi.RemoteException
key - Entry's key
java.rmi.RemoteException
java.io.Serializable rdp(java.io.Serializable key)
throws java.rmi.RemoteException
key - Entry's key
java.rmi.RemoteException
|
jPOS.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||