JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.util

Class NullResponseMetadataCache

  • All Implemented Interfaces:
    MetadataCache


    public class NullResponseMetadataCache
    extends Object
    implements MetadataCache 
    No-op response metadata cache used when a client instance is configured without response metadata caching enabled.
    • Constructor Detail

      • NullResponseMetadataCache

        public NullResponseMetadataCache()
    • Method Detail

      • add

        public void add(Object obj,
         ResponseMetadata metadata)
        Description copied from interface: MetadataCache
        Adds a new entry to this cache, possibly evicting the oldest entry if the cache is at its size limit.
        Specified by:
        add in interface MetadataCache
        Parameters:
        obj - The key by which to store the metadata.
        metadata - The metadata for this entry.
      • get

        public ResponseMetadata get(Object obj)
        Description copied from interface: MetadataCache
        Returns the response metadata associated with the specified object, or null if no metadata is associated with that object.
        Specified by:
        get in interface MetadataCache
        Parameters:
        obj - The key by which the desired metadata is stored.
        Returns:
        The response metadata associated with the given object key, otherwise null if no metadata is associated with that object.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /