Interface DumpHandlesCallback


  • public interface DumpHandlesCallback
    Interface used to define objects that want to receive the streamed results from DumpHandlesResponse messages.
    • Method Detail

      • addHandle

        void addHandle​(byte[] handle,
                       HandleValue[] values)
                throws java.lang.Exception
        Process the given transaction which was received via the stream in the DumpHandlesResponse message.
        Throws:
        java.lang.Exception
      • addHomedPrefix

        void addHomedPrefix​(byte[] naHandle)
                     throws java.lang.Exception
        Process the given prefix which was received via the stream in the DumpHandlesResponse message. If this message is called, that means that the server is responsible for this prefix.
        Throws:
        java.lang.Exception
      • processThisServerReplicationInfo

        void processThisServerReplicationInfo​(long retrievalDate,
                                              long currentTxnId)
      • processOtherSiteReplicationInfo

        void processOtherSiteReplicationInfo​(net.cnri.util.StreamTable replicationConfig)
                                      throws HandleException
        Throws:
        HandleException
      • setLastCreateOrDeleteDate

        void setLastCreateOrDeleteDate​(byte[] handle,
                                       long date,
                                       int priority)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setLastHomeOrUnhomeDate

        void setLastHomeOrUnhomeDate​(byte[] handle,
                                     long date,
                                     int priority)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception