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
-
public class UpdateDocumentReply extends WriteDocumentReply
- Author:
- Simon Thoresen Hult
-
-
Constructor Summary
Constructors Constructor Description UpdateDocumentReply()
Constructs a new reply with no content.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Method Detail
-
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
-
-