Class BucketConfigStreamingRequest

All Implemented Interfaces:
Encodable<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest>, ManagerRequest<BucketConfigStreamingResponse>, Request<BucketConfigStreamingResponse>

public class BucketConfigStreamingRequest extends BaseManagerRequest<BucketConfigStreamingResponse>
Performs a (potential endless) streaming request against the cluster manager for the given bucket.
  • Constructor Details

  • Method Details

    • decode

      public BucketConfigStreamingResponse decode(com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpResponse response, byte[] content)
      Description copied from interface: ManagerRequest
      Decodes a manager response into its response entity.
      Parameters:
      response - the http header of the response.
      content - the actual content of the response.
      Returns:
      the decoded value.
    • encode

      public com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest encode()
    • idempotent

      public boolean idempotent()
      Description copied from interface: Request
      Returns if the given request is idempotent or not.

      By default, this method always returns false for data consistency reasons. Only specific idempotent operations should override this default since it impacts retry handling quite a bit. DO NOT SET THIS TO TRUE ON MUTATING OPERATIONS!

      Returns:
      true if idempotent.