Class RemoveDocumentReply
- 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.RemoveDocumentReply
-
public class RemoveDocumentReply extends WriteDocumentReply
- Author:
- Simon Thoresen Hult
-
-
Constructor Summary
Constructors Constructor Description RemoveDocumentReply()
Constructs a new reply with no content.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setWasFound(boolean found)
Set whether or not the document was found and removed.boolean
wasFound()
Returns whether or not the document was found and removed.-
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 removed.- Returns:
- true if document was found.
-
setWasFound
public void setWasFound(boolean found)
Set whether or not the document was found and removed.- Parameters:
found
- true if the document was found.
-
-