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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractPooledEndpointServiceConfig.Builder<SELF extends AbstractPooledEndpointServiceConfig.Builder>
-
Field Summary
Fields Modifier and Type Field Description static Duration
DEFAULT_IDLE_TIME
static int
DEFAULT_MAX_ENDPOINTS
static int
DEFAULT_MIN_ENDPOINTS
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Duration
idleTime()
int
maxEndpoints()
int
minEndpoints()
boolean
pipelined()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.couchbase.client.core.service.ServiceConfig
exportAsMap
-
-
-
-
Field Detail
-
DEFAULT_MAX_ENDPOINTS
public static final int DEFAULT_MAX_ENDPOINTS
- See Also:
- Constant Field Values
-
DEFAULT_MIN_ENDPOINTS
public static final int DEFAULT_MIN_ENDPOINTS
- See Also:
- Constant Field Values
-
DEFAULT_IDLE_TIME
public static final Duration DEFAULT_IDLE_TIME
-
-
Method Detail
-
minEndpoints
public int minEndpoints()
- Specified by:
minEndpoints
in interfaceServiceConfig
-
maxEndpoints
public int maxEndpoints()
- Specified by:
maxEndpoints
in interfaceServiceConfig
-
idleTime
public Duration idleTime()
- Specified by:
idleTime
in interfaceServiceConfig
-
pipelined
public boolean pipelined()
- Specified by:
pipelined
in interfaceServiceConfig
-
-