Class SpaceTap

java.lang.Object
org.jpos.space.SpaceTap
All Implemented Interfaces:
SpaceListener

public class SpaceTap extends Object implements SpaceListener
  • Constructor Details

    • SpaceTap

      public SpaceTap(LocalSpace sp, Object key, Object tapKey, long tapTimeout)
      Parameters:
      sp - space
      key - key to monitor
      tapKey - key to use when copying
      tapTimeout - copy timeout in millis
    • SpaceTap

      public SpaceTap(LocalSpace ssp, LocalSpace dsp, Object key, Object tapKey, long tapTimeout)
      Parameters:
      ssp - source space
      dsp - destination space
      key - key to monitor
      tapKey - key to use when copying
      tapTimeout - copy timeout in millis
  • Method Details

    • 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 key
      value - Object's value
    • close

      public void close()