Class BucketConfigParser

java.lang.Object
com.couchbase.client.dcp.core.config.parser.BucketConfigParser

public final class BucketConfigParser extends Object
An abstraction over the bucket parser which takes a raw config as a string and turns it into a BucketConfig.
  • Constructor Details

    • BucketConfigParser

      public BucketConfigParser()
  • Method Details

    • parse

      public static BucketConfig parse(String input, HostAndPort origin)
      Parse a raw configuration into a BucketConfig.
      Parameters:
      input - the raw string input.
      origin - the origin of the configuration (only the hostname is used).
      Returns:
      the parsed bucket configuration.