|
||||||||||
| 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 | |
|---|---|
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. |
| Method Detail |
|---|
void out(Serializable key,
Serializable value)
throws RemoteException
key - Entry's keyvalue - Object value
RemoteException
void out(Serializable key,
Serializable value,
long timeout)
throws RemoteException
key - Entry's keyvalue - Object valuetimeout - entry valid time
RemoteExceptionLeasedReference
Serializable in(Serializable key)
throws RemoteException
key - Entry's key
RemoteException
Serializable rd(Serializable key)
throws RemoteException
key - Entry's key
RemoteException
Serializable in(Serializable key,
long timeout)
throws RemoteException
key - Entry's keytimeout - millis to wait
RemoteException
Serializable rd(Serializable key,
long timeout)
throws RemoteException
key - Entry's keytimeout - millis to wait
RemoteException
Serializable inp(Serializable key)
throws RemoteException
key - Entry's key
RemoteException
Serializable rdp(Serializable key)
throws RemoteException
key - Entry's key
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||