public interface ServiceRegistry<R extends Registration>
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the ServiceRegistry.
|
void |
deregister(R registration)
Deregisters the registration.
|
<T> T |
getStatus(R registration)
Gets the status of a particular registration.
|
void |
register(R registration)
Registers the registration.
|
void |
setStatus(R registration,
String status)
Sets the status of the registration.
|
void register(R registration)
registration - The registration.void deregister(R registration)
registration - void close()
void setStatus(R registration, String status)
registration - The registration to update.status - The status to set.ServiceRegistryEndpoint<T> T getStatus(R registration)
T - The type of the status.registration - The registration to query.ServiceRegistryEndpointCopyright © 2019 Pivotal Software, Inc.. All rights reserved.