Package com.couchbase.client.core.node
Interface ServiceRegistry
- All Known Implementing Classes:
DefaultServiceRegistry
public interface ServiceRegistry
Handles the registration of services and their associated buckets.
- Since:
- 2.0
- Author:
- Michael Nitschinger
-
Method Summary
Modifier and TypeMethodDescriptionaddService
(Service service, String bucket) locate
(CouchbaseRequest request) removeService
(Service service, String bucket) serviceBy
(ServiceType type, String bucket) Service[]
services()
Returns all currently stored services, across buckets and globally.
-
Method Details
-
addService
-
removeService
-
serviceBy
-
locate
-
services
Service[] services()Returns all currently stored services, across buckets and globally.- Returns:
- all stored services.
-