| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private ConcurrentHashMap | |
| private ReferenceQueue |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected abstract V | |
| public V | |
| protected K |
| _map | back to summary |
|---|---|
| private ConcurrentHashMap<K, LocaleObjectCache. | |
| _queue | back to summary |
|---|---|
| private ReferenceQueue<V> _queue | |
| LocaleObjectCache | back to summary |
|---|---|
| public LocaleObjectCache() | |
| LocaleObjectCache | back to summary |
|---|---|
| public LocaleObjectCache(int initialCapacity, float loadFactor, int concurrencyLevel) | |
| cleanStaleEntries | back to summary |
|---|---|
private void cleanStaleEntries()
| |
| createObject | back to summary |
|---|---|
| protected abstract V createObject(K key) | |
| get | back to summary |
|---|---|
| public V get(K key) | |
| normalizeKey | back to summary |
|---|---|
| protected K normalizeKey(K key) | |
| Modifier and Type | Field and Description |
|---|---|
| private K |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv K |
| _key | back to summary |
|---|---|
| private K _key | |
| CacheEntry | back to summary |
|---|---|
| pack-priv CacheEntry(K key, V value, ReferenceQueue<V> queue) | |
| getKey | back to summary |
|---|---|
| pack-priv K getKey() | |