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
-
public class GetBucketStateReply extends DocumentReply
This is a reply to aGetBucketStateMessage
. It contains the state of the bucket id requested by the message.- Author:
- Simon Thoresen Hult
-
-
Constructor Summary
Constructors Constructor Description GetBucketStateReply()
Constructs a new reply with no content.GetBucketStateReply(java.util.List<DocumentState> state)
Constructs a new reply with initial content.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<DocumentState>
getBucketState()
Returns the bucket state contained in this.void
setBucketState(java.util.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
-
-
-
-
Constructor Detail
-
GetBucketStateReply
public GetBucketStateReply()
Constructs a new reply with no content.
-
GetBucketStateReply
public GetBucketStateReply(java.util.List<DocumentState> state)
Constructs a new reply with initial content.- Parameters:
state
- The state to set.
-
-
Method Detail
-
setBucketState
public void setBucketState(java.util.List<DocumentState> state)
Sets the bucket state of this.- Parameters:
state
- The state to set.
-
getBucketState
public java.util.List<DocumentState> getBucketState()
Returns the bucket state contained in this.- Returns:
- The state object.
-
-