@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonTimestreamWriteEndpointCache extends EndpointDiscoveryIdentifiersRefreshCache<String>
Constructor and Description |
---|
AmazonTimestreamWriteEndpointCache(AmazonTimestreamWrite 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, shutdown
public AmazonTimestreamWriteEndpointCache(AmazonTimestreamWrite client)
public URI get(String key, AmazonWebServiceRequest discoveryRequest, boolean required, URI defaultEndpoint)
EndpointDiscoveryIdentifiersRefreshCache
get
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)
EndpointDiscoveryIdentifiersRefreshCache
put
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>