Class UpdateDocumentReply
java.lang.Object
com.yahoo.messagebus.Routable
com.yahoo.messagebus.Reply
com.yahoo.documentapi.messagebus.protocol.DocumentReply
com.yahoo.documentapi.messagebus.protocol.DocumentAcceptedReply
com.yahoo.documentapi.messagebus.protocol.WriteDocumentReply
com.yahoo.documentapi.messagebus.protocol.UpdateDocumentReply
- Author:
- Simon Thoresen Hult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setWasFound
(boolean found) Sets whether or not the document was found and updated.boolean
wasFound()
Returns whether or not the document was found and updated.Methods inherited from class com.yahoo.documentapi.messagebus.protocol.WriteDocumentReply
getHighestModificationTimestamp, setHighestModificationTimestamp
Methods inherited from class com.yahoo.documentapi.messagebus.protocol.DocumentReply
getPriority, getProtocol, getType, setPriority
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
-
Constructor Details
-
UpdateDocumentReply
public UpdateDocumentReply()Constructs a new reply with no content.
-
-
Method Details
-
wasFound
public boolean wasFound()Returns whether or not the document was found and updated.- Returns:
- true if document was found
-
setWasFound
public void setWasFound(boolean found) Sets whether or not the document was found and updated.- Parameters:
found
- True if the document was found
-