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 a GetBucketStateMessage. It contains the state of the bucket id requested by the message.
Author:
Simon Thoresen Hult
  • Constructor Details

    • GetBucketStateReply

      public GetBucketStateReply()
      Constructs a new reply with no content.
    • GetBucketStateReply

      public GetBucketStateReply(List<DocumentState> state)
      Constructs a new reply with initial content.
      Parameters:
      state - The state to set.
  • Method Details

    • setBucketState

      public void setBucketState(List<DocumentState> state)
      Sets the bucket state of this.
      Parameters:
      state - The state to set.
    • getBucketState

      public List<DocumentState> getBucketState()
      Returns the bucket state contained in this.
      Returns:
      The state object.