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
- Author:
- Simon Thoresen Hult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Methods inherited from class com.yahoo.messagebus.Routable
discard, getCallStack, getContext, getTrace, popHandler, pushHandler, setContext
-
Constructor Details
-
RemoveDocumentReply
public RemoveDocumentReply()Constructs a new reply with no content.
-
-
Method Details
-
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.
-