Class SpaceProxy
java.lang.Object
org.jpos.space.SpaceProxy
- All Implemented Interfaces:
Remote, Configurable, RemoteSpace
RMI Space Proxy
- Since:
- 1.4.9
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()in(Serializable key) Take an entry from the space, waiting forever until one exists.in(Serializable key, long timeout) Take an entry from the space, waiting a limited amount of time until one exists.inp(Serializable key) In probe takes an entry from the space if one exists, return null otherwise.voidout(Serializable key, Serializable value) Write a new entry into the Spacevoidout(Serializable key, Serializable value, long timeout) Write a new leased entry into the Space.rd(Serializable key) Read an entry from the space, waiting forever until one exists.rd(Serializable key, long timeout) Read an entry from the space, waiting a limited amount of time until one exists.rdp(Serializable key) Read probe reads an entry from the space if one exists, return null otherwise.voidvoidshutdown()toString()
-
Constructor Details
-
SpaceProxy
- Throws:
RemoteException
-
SpaceProxy
- Throws:
RemoteException
-
-
Method Details
-
out
Description copied from interface:RemoteSpaceWrite a new entry into the Space- Specified by:
outin interfaceRemoteSpace- Parameters:
key- Entry's keyvalue- Object value- Throws:
RemoteException
-
out
Description copied from interface:RemoteSpaceWrite a new leased entry into the Space. Entry will remain valid for a limited amount of time.- Specified by:
outin interfaceRemoteSpace- Parameters:
key- Entry's keyvalue- Object valuetimeout- entry valid time- Throws:
RemoteException
-
in
Description copied from interface:RemoteSpaceTake an entry from the space, waiting forever until one exists.- Specified by:
inin interfaceRemoteSpace- Parameters:
key- Entry's key- Returns:
- value
- Throws:
RemoteException
-
rd
Description copied from interface:RemoteSpaceRead an entry from the space, waiting forever until one exists.- Specified by:
rdin interfaceRemoteSpace- Parameters:
key- Entry's key- Returns:
- value
- Throws:
RemoteException
-
in
Description copied from interface:RemoteSpaceTake an entry from the space, waiting a limited amount of time until one exists.- Specified by:
inin interfaceRemoteSpace- Parameters:
key- Entry's keytimeout- millis to wait- Returns:
- value or null
- Throws:
RemoteException
-
rd
Description copied from interface:RemoteSpaceRead an entry from the space, waiting a limited amount of time until one exists.- Specified by:
rdin interfaceRemoteSpace- Parameters:
key- Entry's keytimeout- millis to wait- Returns:
- value or null
- Throws:
RemoteException
-
inp
Description copied from interface:RemoteSpaceIn probe takes an entry from the space if one exists, return null otherwise.- Specified by:
inpin interfaceRemoteSpace- Parameters:
key- Entry's key- Returns:
- value or null
- Throws:
RemoteException
-
rdp
Description copied from interface:RemoteSpaceRead probe reads an entry from the space if one exists, return null otherwise.- Specified by:
rdpin interfaceRemoteSpace- Parameters:
key- Entry's key- Returns:
- value or null
- Throws:
RemoteException
-
shutdown
-
setConfiguration
- Specified by:
setConfigurationin interfaceConfigurable- Parameters:
cfg- Configuration object- Throws:
ConfigurationException
-
getKeySet
-
toString
-
hashCode
-
equals
-