Class GetBucketStateReply
java.lang.Object
com.yahoo.messagebus.Routable
com.yahoo.messagebus.Reply
com.yahoo.documentapi.messagebus.protocol.DocumentReply
com.yahoo.documentapi.messagebus.protocol.GetBucketStateReply
This is a reply to a
GetBucketStateMessage
. It contains the state of the bucket id requested by the message.- Author:
- Simon Thoresen Hult
-
Constructor Summary
ConstructorDescriptionConstructs a new reply with no content.GetBucketStateReply
(List<DocumentState> state) Constructs a new reply with initial content. -
Method Summary
Modifier and TypeMethodDescriptionReturns the bucket state contained in this.void
setBucketState
(List<DocumentState> state) Sets the bucket state of this.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
-
GetBucketStateReply
public GetBucketStateReply()Constructs a new reply with no content. -
GetBucketStateReply
Constructs a new reply with initial content.- Parameters:
state
- The state to set.
-
-
Method Details
-
setBucketState
Sets the bucket state of this.- Parameters:
state
- The state to set.
-
getBucketState
Returns the bucket state contained in this.- Returns:
- The state object.
-