|Modifier and Type||Method and Description|
Adds a new entry to this cache, possibly evicting the oldest entry if the cache is at its size limit.
Returns the response metadata associated with the specified object, or null if no metadata is associated with that object.
void add(Object obj, ResponseMetadata metadata)
obj- The key by which to store the metadata.
metadata- The metadata for this entry.
ResponseMetadata get(Object obj)
obj- The key by which the desired metadata is stored.
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.