Class AbstractPooledEndpointServiceConfig

java.lang.Object
com.couchbase.client.core.service.AbstractPooledEndpointServiceConfig
All Implemented Interfaces:
ServiceConfig
Direct Known Subclasses:
AnalyticsServiceConfig, QueryServiceConfig, SearchServiceConfig, ViewServiceConfig

public abstract class AbstractPooledEndpointServiceConfig extends Object implements ServiceConfig
  • Field Details

    • DEFAULT_MAX_ENDPOINTS

      public static final int DEFAULT_MAX_ENDPOINTS
      By default, the maximum number of pooled endpoints is 12 per node.
      See Also:
    • DEFAULT_MIN_ENDPOINTS

      public static final int DEFAULT_MIN_ENDPOINTS
      By default, pooled endpoints start with 0 so they do not occupy any resources if not needed.
      See Also:
    • DEFAULT_IDLE_TIME

      public static final Duration DEFAULT_IDLE_TIME
      By default, idle pooled endpoints are cleaned up every second so that they do not clash with idle socket close attempts by the server.
  • Method Details