3.55.0 • Published 4 years ago
@trivikr-test/endpoint-cache-esm-wrapper v3.55.0
@aws-sdk/endpoint-cache
An internal package
Usage
You probably shouldn't, at least directly.
EndpointCache
- uses
mnemonist/lru-cachefor storing the cache. - the
setoperation stores milliseconds elapsed since the UNIX epoch in Expires param based on CachePeriodInMinutes provided in Endpoint. - the
getoperation returns all un-expired endpoints with their Expires values. - the
getEndpointoperation returns a randomly selected un-expired endpoint.
3.55.0
4 years ago