Class WriteDocumentReply

    • Constructor Summary

      Constructors 
      Constructor Description
      WriteDocumentReply​(int type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getHighestModificationTimestamp()
      Returns a unique VDS timestamp so that visiting up to and including that timestamp will return a state including this operation but not any operations sent to the same distributor after it.
      void setHighestModificationTimestamp​(long timestamp)
      Sets the modification timestamp.
      • Methods inherited from class com.yahoo.messagebus.Reply

        addError, getError, getErrorCodes, getErrors, getMessage, getNumErrors, getRetryDelay, hasErrors, hasFatalErrors, setMessage, setRetryDelay, swapState
      • Methods inherited from class com.yahoo.messagebus.Routable

        discard, getCallStack, getContext, getTrace, popHandler, pushHandler, setContext
      • Methods inherited from class java.lang.Object

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

      • WriteDocumentReply

        public WriteDocumentReply​(int type)
    • Method Detail

      • getHighestModificationTimestamp

        public long getHighestModificationTimestamp()
        Returns a unique VDS timestamp so that visiting up to and including that timestamp will return a state including this operation but not any operations sent to the same distributor after it. For PUT/UPDATE/REMOVE operations this timestamp will be the timestamp of the operation.
        Returns:
        Returns the modification timestamp.
      • setHighestModificationTimestamp

        public void setHighestModificationTimestamp​(long timestamp)
        Sets the modification timestamp.