org.jpos.space
Class SpaceTap
java.lang.Object
org.jpos.space.SpaceTap
- All Implemented Interfaces:
- SpaceListener
public class SpaceTap
- extends Object
- implements SpaceListener
|
Method Summary |
void |
close()
|
void |
notify(Object key,
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceTap
public SpaceTap(LocalSpace sp,
Object key,
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,
Object key,
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(Object key,
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()
Copyright © 1998-2012 jPOS.org. All Rights Reserved.