Class SpaceTap

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpaceTap

        public SpaceTap​(LocalSpace sp,
                        java.lang.Object key,
                        java.lang.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,
                        java.lang.Object key,
                        java.lang.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 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 interface SpaceListener
        Parameters:
        key - Object's key
        value - Object's value
      • close

        public void close()