public interface ServiceRegistry
Handles the registration of services and their associated buckets.
Modifier and Type | Method and Description |
---|---|
Service |
addService(Service service,
java.lang.String bucket) |
Service |
locate(CouchbaseRequest request) |
Service |
removeService(Service service,
java.lang.String bucket) |
Service |
serviceBy(ServiceType type,
java.lang.String bucket) |
java.util.List<Service> |
services()
Returns all currently stored services, across buckets and globally.
|
Service serviceBy(ServiceType type, java.lang.String bucket)
Service locate(CouchbaseRequest request)
java.util.List<Service> services()
Returns all currently stored services, across buckets and globally.