@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonTimestreamQueryEndpointCache extends EndpointDiscoveryIdentifiersRefreshCache<String>
| Constructor and Description |
|---|
AmazonTimestreamQueryEndpointCache(AmazonTimestreamQuery client) |
| Modifier and Type | Method and Description |
|---|---|
String |
constructKey(String key,
AmazonWebServiceRequest discoveryRequest) |
URI |
get(String key,
AmazonWebServiceRequest discoveryRequest,
boolean required,
URI defaultEndpoint)
Abstract method to be implemented by each service to handle retrieving
endpoints from a cache.
|
URI |
put(String key,
AmazonWebServiceRequest discoveryRequest,
Map<String,String> endpointDetails,
URI defaultEndpoint)
Abstract method to be implemented by each service to handle storing endpoints
in it's cache.
|
discoverEndpoint, evict, loadAndScheduleEvict, loadAndScheduleRefresh, shutdownpublic AmazonTimestreamQueryEndpointCache(AmazonTimestreamQuery client)
public URI get(String key, AmazonWebServiceRequest discoveryRequest, boolean required, URI defaultEndpoint)
EndpointDiscoveryIdentifiersRefreshCacheget in class EndpointDiscoveryIdentifiersRefreshCache<String>key - - The cache key to usediscoveryRequest - - An endpoint discovery request containing additional discovery parametersrequired - - Whether or not the service requires use of endpoint discoverydefaultEndpoint - - The default endpoint for the servicepublic URI put(String key, AmazonWebServiceRequest discoveryRequest, Map<String,String> endpointDetails, URI defaultEndpoint)
EndpointDiscoveryIdentifiersRefreshCacheput in class EndpointDiscoveryIdentifiersRefreshCache<String>key - - The cache keydiscoveryRequest - An endpoint discovery request containing additional discovery parameters.endpointDetails - - The details for an endpoint including the address and cache period.public String constructKey(String key, AmazonWebServiceRequest discoveryRequest)
constructKey in class EndpointDiscoveryIdentifiersRefreshCache<String>