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 Type Method Description Service
addService(Service service, String bucket)
Service
locate(CouchbaseRequest request)
Service
removeService(Service service, String bucket)
Service
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.
-