/libcore/ojluni/src/main/java/java/nio/charset/ |
H A D | CoderResult.java | 195 private static abstract class Cache { class in class:CoderResult 221 private static Cache malformedCache 222 = new Cache() { 237 private static Cache unmappableCache 238 = new Cache() {
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
H A D | ThreadLocalCoders.java | 41 private static abstract class Cache { class in class:ThreadLocalCoders 47 Cache(int size) { method in class:ThreadLocalCoders.Cache 89 private static Cache decoderCache = new Cache(CACHE_SIZE) { 113 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/security/provider/ |
H A D | X509Factory.java | 37 import sun.security.util.Cache; 67 private static final Cache certCache = Cache.newSoftMemoryCache(750); 68 private static final Cache crlCache = Cache.newSoftMemoryCache(750); 201 private static synchronized Object getFromCache(Cache cache, 203 Object key = new Cache.EqualByteArray(encoding); 211 private static synchronized void addToCache(Cache cache, byte[] encoding, 216 Object key = new Cache.EqualByteArray(encoding);
|
/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/sun/security/provider/certpath/ldap/ |
H A D | LDAPCertStore.java | 50 import sun.security.util.Cache; 172 private final Cache<String, byte[][]> valueCache; 207 valueCache = Cache.newNullCache(); 209 valueCache = Cache.newSoftMemoryCache(DEFAULT_CACHE_SIZE); 211 valueCache = Cache.newSoftMemoryCache(DEFAULT_CACHE_SIZE, LIFETIME); 219 private static final Cache<LDAPCertStoreParameters, CertStore> 220 certStoreCache = Cache.newSoftMemoryCache(185); 331 System.out.println("Cache hits: " + cacheHits + "; misses: "
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Locale.java | 485 static private final Cache LOCALECACHE = new Cache(); 754 private static class Cache extends LocaleObjectCache<LocaleKey, Locale> { class in class:Locale 755 private Cache() { method in class:Locale.Cache
|
/libcore/ |
H A D | openjdk_java_files.mk | 1310 ojluni/src/main/java/sun/security/util/Cache.java \
|