@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonDynamoDBEndpointCache extends EndpointDiscoveryRefreshCache<String>
Constructor and Description |
---|
AmazonDynamoDBEndpointCache(AmazonDynamoDB client) |
Modifier and Type | Method and Description |
---|---|
URI |
get(String key,
boolean required,
URI defaultEndpoint)
Abstract method to be implemented by each service to handle retrieving
endpoints from a cache.
|
URI |
put(String key,
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 AmazonDynamoDBEndpointCache(AmazonDynamoDB client)
public URI get(String key, boolean required, URI defaultEndpoint)
EndpointDiscoveryRefreshCache
get
in class EndpointDiscoveryRefreshCache<String>
key
- - The cache key to userequired
- - Whether or not the service requires use of endpoint discoverydefaultEndpoint
- - The default endpoint for the servicepublic URI put(String key, Map<String,String> endpointDetails, URI defaultEndpoint)
EndpointDiscoveryRefreshCache
put
in class EndpointDiscoveryRefreshCache<String>
key
- - The cache keyendpointDetails
- - The details for an endpoint including the address and cache period.