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
All Methods Instance Methods Abstract Methods 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 Detail
-
serviceBy
Service serviceBy(ServiceType type, String bucket)
-
locate
Service locate(CouchbaseRequest request)
-
services
Service[] services()
Returns all currently stored services, across buckets and globally.- Returns:
- all stored services.
-
-