org.jpos.space
Class SpaceTap
java.lang.Object
org.jpos.space.SpaceTap
- All Implemented Interfaces:
- SpaceListener
public class SpaceTap
- extends java.lang.Object
- implements SpaceListener
|
Method Summary |
void |
close()
|
void |
notify(java.lang.Object key,
java.lang.Object value)
Called by Space implementation whenever an object
with the given key is being placed in the Space. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceTap
public SpaceTap(LocalSpace sp,
java.lang.Object key,
java.lang.Object tapKey,
long tapTimeout)
- Parameters:
sp - spacekey - key to monitortapKey - key to use when copyingtapTimeout - copy timeout in millis
SpaceTap
public SpaceTap(LocalSpace ssp,
LocalSpace dsp,
java.lang.Object key,
java.lang.Object tapKey,
long tapTimeout)
- Parameters:
ssp - source spacedsp - destination spacekey - key to monitortapKey - key to use when copyingtapTimeout - copy timeout in millis
notify
public void notify(java.lang.Object key,
java.lang.Object value)
- Description copied from interface:
SpaceListener
Called by Space implementation whenever an object
with the given key is being placed in the Space.
- Specified by:
notify in interface SpaceListener
- Parameters:
key - Object's keyvalue - Object's value
close
public void close()