
com.netease.cloud.util.ResponseMetadataCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nos-sdk-java-publiccloud Show documentation
Show all versions of nos-sdk-java-publiccloud Show documentation
nos java sdk to the Central Repository
package com.netease.cloud.util;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.netease.cloud.ResponseMetadata;
/**
* Cache of response metadata for recently executed requests for diagnostic
* purposes. This cache has a max size and as entries are added, the oldest
* entry is aged out once the max size has been reached.
*/
public class ResponseMetadataCache {
private final int maxEntries;
private Map map;
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy