Package 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
-
-
Constructor Summary
Constructors Constructor Description SpaceTap(LocalSpace sp, java.lang.Object key, java.lang.Object tapKey, long tapTimeout)
SpaceTap(LocalSpace ssp, LocalSpace dsp, java.lang.Object key, java.lang.Object tapKey, long tapTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
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 interfaceSpaceListener
- Parameters:
key
- Object's keyvalue
- Object's value
-
close
public void close()
-
-