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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetWasFound(boolean found) Set whether or not the document was found and removed.booleanwasFound()Returns whether or not the document was found and removed.Methods inherited from class com.yahoo.documentapi.messagebus.protocol.WriteDocumentReply
getHighestModificationTimestamp, setHighestModificationTimestampMethods inherited from class com.yahoo.documentapi.messagebus.protocol.DocumentReply
getPriority, getProtocol, getType, setPriorityMethods inherited from class com.yahoo.messagebus.Reply
addError, getError, getErrorCodes, getErrors, getMessage, getNumErrors, getRetryDelay, hasErrors, hasFatalErrors, setMessage, setRetryDelay, swapStateMethods 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.
-