public interface ServiceRegistry<R extends Registration>
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the ServiceRegistry.
|
void |
deregister(R registration)
Deregister the registration.
|
<T> T |
getStatus(R registration)
Gets the status of a particular registration.
|
void |
register(R registration)
Register the registration.
|
void |
setStatus(R registration,
String status)
Sets the status of the registration.
|
void register(R registration)
registration
- the registraionvoid deregister(R registration)
registration
- void close()
void setStatus(R registration, String status)
registration
- the registration to updatestatus
- the status to setServiceRegistryEndpoint
<T> T getStatus(R registration)
T
- the type of the statusregistration
- the registration to queryServiceRegistryEndpoint
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.