/libcore/ojluni/src/main/java/sun/security/provider/ |
H A D | X509Factory.java | 31 import sun.security.util.Cache; 63 private static final Cache<Object, X509CertImpl> certCache 64 = Cache.newSoftMemoryCache(750); 65 private static final Cache<Object, X509CRLImpl> crlCache 66 = Cache.newSoftMemoryCache(750); 216 private static synchronized <K,V> V getFromCache(Cache<K,V> cache, 218 Object key = new Cache.EqualByteArray(encoding); 225 private static synchronized <V> void addToCache(Cache<Object, V> cache, 230 Object key = new Cache.EqualByteArray(encoding);
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
H A D | CoderResult.java | 194 private static abstract class Cache { class in class:CoderResult 220 private static Cache malformedCache 221 = new Cache() { 239 private static Cache unmappableCache 240 = new Cache() {
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
H A D | ThreadLocalCoders.java | 40 private static abstract class Cache { class in class:ThreadLocalCoders 46 Cache(int size) { method in class:ThreadLocalCoders.Cache 88 private static Cache decoderCache = new Cache(CACHE_SIZE) { 112 private static Cache encoderCache = new Cache(CACHE_SIZE) {
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | Cache.java | 60 * Cache sizing: the memory cache is implemented on top of a LinkedHashMap. 72 public abstract class Cache<K,V> { class 74 protected Cache() { method in class:Cache 122 public static <K,V> Cache<K,V> newSoftMemoryCache(int size) { 131 public static <K,V> Cache<K,V> newSoftMemoryCache(int size, int timeout) { 139 public static <K,V> Cache<K,V> newHardMemoryCache(int size) { 147 public static <K,V> Cache<K,V> newNullCache() { 148 return (Cache<K,V>) NullCache.INSTANCE; 156 public static <K,V> Cache<K,V> newHardMemoryCache(int size, int timeout) { 203 class NullCache<K,V> extends Cache< [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | CertStoreHelper.java | 44 import sun.security.util.Cache; 63 private static Cache<String, CertStoreHelper> cache 64 = Cache.newSoftMemoryCache(NUM_TYPES);
|
H A D | X509CertificatePair.java | 39 import sun.security.util.Cache; 82 private static final Cache<Object, X509CertificatePair> cache 83 = Cache.newSoftMemoryCache(750); 141 Object key = new Cache.EqualByteArray(encoded); 147 key = new Cache.EqualByteArray(pair.encoded);
|
H A D | URICertStore.java | 58 import sun.security.util.Cache; 97 // size of the cache (see Cache class for sizing recommendations) 187 private static final Cache<URICertStoreParameters, CertStore> 188 certStoreCache = Cache.newSoftMemoryCache(CACHE_SIZE);
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
H A D | BaseLocale.java | 40 private static final Cache CACHE = new Cache(); 290 private static class Cache extends LocaleObjectCache<Key, BaseLocale> { class in class:BaseLocale 292 public Cache() { method in class:BaseLocale.Cache
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Locale.java | 564 static private final Cache LOCALECACHE = new Cache(); 831 private static class Cache extends LocaleObjectCache<LocaleKey, Locale> { class in class:Locale 832 private Cache() { method in class:Locale.Cache
|
/libcore/ |
H A D | openjdk_java_files.mk | 1617 ojluni/src/main/java/sun/security/util/Cache.java \
|