Class GetBucketStateMessage


  • public class GetBucketStateMessage
    extends DocumentMessage
    This message is a request to return the state of a given bucket. The corresponding reply is GetBucketStateReply.
    Author:
    Simon Thoresen Hult
    • Constructor Detail

      • GetBucketStateMessage

        public GetBucketStateMessage​(com.yahoo.document.BucketId bucket)
        Constructs a new reply with initial content.
        Parameters:
        bucket - The bucket whose state to reply with.
    • Method Detail

      • getBucketId

        public com.yahoo.document.BucketId getBucketId()
        Returns the bucket whose state this contains.
        Returns:
        The bucket id.
      • setBucketId

        public void setBucketId​(com.yahoo.document.BucketId bucket)
        Sets the bucket whose state this contains.
        Parameters:
        bucket - The bucket id to set.
      • getSequenceId

        public long getSequenceId()
        Overrides:
        getSequenceId in class com.yahoo.messagebus.Message
      • getType

        public int getType()
        Specified by:
        getType in class com.yahoo.messagebus.Routable