| Constructor and Description |
|---|
CouchbaseCore(CoreEnvironment environment)
Creates a new
CouchbaseCore. |
RequestHandler(CoreEnvironment environment,
rx.Observable<ClusterConfig> configObservable,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Create a new
RequestHandler. |
ResponseHandler(CoreEnvironment environment,
ClusterFacade cluster,
ConfigurationProvider provider)
Creates a new
ResponseHandler. |
| Constructor and Description |
|---|
DefaultConfigurationProvider(ClusterFacade cluster,
CoreEnvironment environment)
Create a new
DefaultConfigurationProvider. |
DefaultConfigurationProvider(ClusterFacade cluster,
CoreEnvironment environment,
List<Loader> loaderChain,
Map<LoaderType,Refresher> refreshers)
Create a new
DefaultConfigurationProvider. |
| Modifier and Type | Method and Description |
|---|---|
protected CoreEnvironment |
AbstractLoader.env()
Returns the
CoreEnvironment for child implementations. |
| Constructor and Description |
|---|
AbstractLoader(LoaderType loaderType,
ServiceType serviceType,
ClusterFacade cluster,
CoreEnvironment environment)
Create a new
AbstractLoader. |
CarrierLoader(ClusterFacade cluster,
CoreEnvironment environment)
Creates a new
CarrierLoader. |
HttpLoader(ClusterFacade cluster,
CoreEnvironment environment)
Creates a new
HttpLoader. |
| Constructor and Description |
|---|
AbstractRefresher(CoreEnvironment env,
ClusterFacade cluster)
Creates a new
AbstractRefresher. |
CarrierRefresher(CoreEnvironment environment,
ClusterFacade cluster)
Creates a new
CarrierRefresher. |
HttpRefresher(CoreEnvironment env,
ClusterFacade cluster) |
| Modifier and Type | Method and Description |
|---|---|
protected CoreEnvironment |
AbstractGenericHandler.env()
Returns environment.
|
CoreEnvironment |
AbstractEndpoint.environment()
The
CoreEnvironment reference. |
| Constructor and Description |
|---|
AbstractEndpoint(String bucket,
String username,
String password,
BootstrapAdapter adapter,
boolean isTransient,
CoreEnvironment env,
boolean pipeline)
Constructor to which allows to pass in an artificial bootstrap adapter.
|
AbstractEndpoint(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer,
boolean isTransient,
EventLoopGroup ioPool,
boolean pipeline)
Create a new
AbstractEndpoint. |
| Constructor and Description |
|---|
AnalyticsEndpoint(String hostname,
String bucket,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
AnalyticsEndpoint(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
| Constructor and Description |
|---|
ConfigEndpoint(String hostname,
String bucket,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
ConfigEndpoint(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
| Constructor and Description |
|---|
DCPConnection(CoreEnvironment env,
ClusterFacade core,
String bucket,
String password)
Deprecated.
|
DCPConnection(CoreEnvironment env,
ClusterFacade core,
String bucket,
String password,
rx.subjects.SerializedSubject<DCPRequest,DCPRequest> subject)
Deprecated.
|
DCPConnectionHandler(CoreEnvironment env)
Deprecated.
Creates a new
DCPConnectionHandler. |
DCPEndpoint(String hostname,
String bucket,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
DCPEndpoint(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
| Constructor and Description |
|---|
KeyValueEndpoint(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
KeyValueEndpoint(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Create a new
KeyValueEndpoint. |
KeyValueFeatureHandler(CoreEnvironment environment) |
| Constructor and Description |
|---|
QueryEndpoint(String hostname,
String bucket,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
QueryEndpoint(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
| Constructor and Description |
|---|
SearchEndpoint(String hostname,
String bucket,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
SearchEndpoint(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
| Constructor and Description |
|---|
ViewEndpoint(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
ViewEndpoint(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCoreEnvironment |
| Constructor and Description |
|---|
CouchbaseNode(NetworkAddress hostname,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
ViewLocator.locateAndDispatch(CouchbaseRequest request,
List<Node> nodes,
ClusterConfig config,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
void |
QueryLocator.locateAndDispatch(CouchbaseRequest request,
List<Node> nodes,
ClusterConfig config,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
void |
Locator.locateAndDispatch(CouchbaseRequest request,
List<Node> nodes,
ClusterConfig config,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Given with the environment and node information, the implementation locates the right set of nodes and dispatches the request into them.
|
void |
KeyValueLocator.locateAndDispatch(CouchbaseRequest request,
List<Node> nodes,
ClusterConfig cluster,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
void |
DCPLocator.locateAndDispatch(CouchbaseRequest request,
List<Node> nodes,
ClusterConfig cluster,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
void |
ConfigLocator.locateAndDispatch(CouchbaseRequest request,
List<Node> nodes,
ClusterConfig config,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RetryHelper.retryOrCancel(CoreEnvironment environment,
CouchbaseRequest request,
com.lmax.disruptor.EventSink<ResponseEvent> responseBuffer)
Either retry or cancel a request, based on the strategy used.
|
boolean |
RetryStrategy.shouldRetry(CouchbaseRequest request,
CoreEnvironment environment)
Decides whether the given
CouchbaseRequest should be retried or cancelled. |
boolean |
FailFastRetryStrategy.shouldRetry(CouchbaseRequest request,
CoreEnvironment env) |
boolean |
BestEffortRetryStrategy.shouldRetry(CouchbaseRequest request,
CoreEnvironment env) |
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
Service.EndpointFactory.create(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Create a new
Endpoint. |
static Service |
ServiceFactory.create(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
ServiceType type,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
| Constructor and Description |
|---|
AbstractDynamicService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
int minEndpoints,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer,
Service.EndpointFactory endpointFactory) |
AbstractLazyService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer,
Service.EndpointFactory endpointFactory) |
AbstractOnDemandService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer,
Service.EndpointFactory endpointFactory) |
AbstractPoolingService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
int minEndpoints,
int maxEndpoints,
SelectionStrategy strategy,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer,
Service.EndpointFactory endpointFactory) |
AnalyticsService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
AnalyticsService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
AnalyticsService. |
ConfigService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
ConfigService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
DCPService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
DCPService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
KeyValueService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
KeyValueService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
KeyValueService. |
OldAnalyticsService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
OldAnalyticsService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
OldAnalyticsService. |
OldKeyValueService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
OldKeyValueService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
KeyValueService. |
OldQueryService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
OldQueryService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
QueryService. |
OldSearchService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
OldSearchService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
ViewService. |
OldViewService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
OldViewService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
ViewService. |
QueryService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
QueryService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
QueryService. |
SearchService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
SearchService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
SearchService. |
ViewService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
ViewService(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
ViewService. |
Copyright © 2017 Couchbase, Inc.. All rights reserved.