/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | ThreadLocalCoders.java | 41 private static abstract class Cache { class in ThreadLocalCoders 47 Cache(int size) { in Cache() method in 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/java/nio/charset/ |
D | CoderResult.java | 195 private static abstract class Cache { class in CoderResult 221 private static Cache malformedCache 222 = new Cache() { 237 private static Cache unmappableCache 238 = new Cache() {
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Cache.java | 72 public abstract class Cache<K,V> { class 74 protected Cache() { in Cache() method in Cache 122 public static <K,V> Cache<K,V> newSoftMemoryCache(int size) { in newSoftMemoryCache() 131 public static <K,V> Cache<K,V> newSoftMemoryCache(int size, int timeout) { in newSoftMemoryCache() 139 public static <K,V> Cache<K,V> newHardMemoryCache(int size) { in newHardMemoryCache() 147 public static <K,V> Cache<K,V> newNullCache() { in newNullCache() 148 return (Cache<K,V>) NullCache.INSTANCE; in newNullCache() 156 public static <K,V> Cache<K,V> newHardMemoryCache(int size, int timeout) { in newHardMemoryCache() 203 class NullCache<K,V> extends Cache<K,V> { 205 final static Cache<Object,Object> INSTANCE = new NullCache<>(); [all …]
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
D | SSLSessionContextImpl.java | 36 import sun.security.util.Cache; 40 private Cache<SessionId, SSLSessionImpl> sessionCache; 42 private Cache<String, SSLSessionImpl> sessionHostPortCache; 53 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl() 54 sessionHostPortCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl() 232 implements Cache.CacheVisitor<SessionId, SSLSessionImpl> {
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
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); in generateCertificatePair() 147 key = new Cache.EqualByteArray(pair.encoded); in generateCertificatePair()
|
D | CertStoreHelper.java | 44 import sun.security.util.Cache; 63 private static Cache<String, CertStoreHelper> cache 64 = Cache.newSoftMemoryCache(NUM_TYPES);
|
D | URICertStore.java | 58 import sun.security.util.Cache; 187 private static final Cache<URICertStoreParameters, CertStore> 188 certStoreCache = Cache.newSoftMemoryCache(CACHE_SIZE);
|
/libcore/ojluni/src/main/java/sun/security/provider/ |
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, in getFromCache() 203 Object key = new Cache.EqualByteArray(encoding); in getFromCache() 211 private static synchronized void addToCache(Cache cache, byte[] encoding, in addToCache() 216 Object key = new Cache.EqualByteArray(encoding); in addToCache()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | BaseLocale.java | 40 private static final Cache CACHE = new Cache(); 290 private static class Cache extends LocaleObjectCache<Key, BaseLocale> { class in BaseLocale 292 public Cache() { in Cache() method in BaseLocale.Cache
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ldap/ |
D | LDAPCertStore.java | 50 import sun.security.util.Cache; 172 private final Cache<String, byte[][]> valueCache; 207 valueCache = Cache.newNullCache(); in LDAPCertStore() 209 valueCache = Cache.newSoftMemoryCache(DEFAULT_CACHE_SIZE); in LDAPCertStore() 211 valueCache = Cache.newSoftMemoryCache(DEFAULT_CACHE_SIZE, LIFETIME); in LDAPCertStore() 219 private static final Cache<LDAPCertStoreParameters, CertStore> 220 certStoreCache = Cache.newSoftMemoryCache(185);
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 485 static private final Cache LOCALECACHE = new Cache(); 754 private static class Cache extends LocaleObjectCache<LocaleKey, Locale> { class in Locale 755 private Cache() { in Cache() method in Locale.Cache
|
/libcore/ |
D | openjdk_java_files.mk | 1371 ojluni/src/main/java/sun/security/util/Cache.java \
|