public class EndpointManager extends Object
| Constructor and Description |
|---|
EndpointManager() |
| Modifier and Type | Method and Description |
|---|---|
DatabaseCredentials |
getDatabaseEndpoint(String scope,
DatabaseProfile databaseProfile) |
List<String> |
getServiceEndpoints(String scope,
ServiceProfile serviceProfile) |
void |
refreshEndpoints() |
void |
removeServiceEndpoint(String scope,
ServiceProfile serviceProfile,
String endpoint) |
@Scheduled(fixedDelayString="#{${cache.refresh.interval} * 60 * 1000}")
public void refreshEndpoints()
public DatabaseCredentials getDatabaseEndpoint(String scope, DatabaseProfile databaseProfile) throws Exception
Exceptionpublic List<String> getServiceEndpoints(String scope, ServiceProfile serviceProfile) throws Exception
Exceptionpublic void removeServiceEndpoint(String scope, ServiceProfile serviceProfile, String endpoint)
Copyright © 2017. All Rights Reserved.