Class GlobalConfig

java.lang.Object
com.couchbase.client.core.config.GlobalConfig

@Deprecated public class GlobalConfig extends Object
Deprecated.
In favor of ClusterTopology
The GlobalConfig represents a configuration which is not tied to a bucket.

This type of config has been introduced in couchbase server 6.5 (and forward) and allows cluster-level operations without having a bucket open (and as a result fetch a bucket config). It only contains a subset of what can be found in a bucket config, since it contains only what necessary to locate cluster-level features and capabilities.

  • Constructor Details

  • Method Details

    • rev

      @Deprecated public long rev()
      Deprecated.
      Please use version() instead.
      The revision id of this global config.
    • revEpoch

      @Deprecated public long revEpoch()
      Deprecated.
      Please use version() instead.
      The epoch of the revision, 0 if not set on the config.
    • version

      public ConfigVersion version()
      Deprecated.
    • clusterCapabilities

      public Map<ServiceType,Set<ClusterCapabilities>> clusterCapabilities()
      Deprecated.
      All global cluster capabilities.
    • portInfos

      public List<PortInfo> portInfos()
      Deprecated.
      The node/port infos for each node in the list.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object