Class 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
    • 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.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.