public final class LRUCache extends Object
A cache backed by a Collections.SynchronizedMap
| Constructor and description | 
|---|
                                LRUCache
                                (int maxCacheSize) | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            void | 
                            cleanUpNullReferences()Replying on the Collections.SynchronizedMap thread-safe iteration implementation the method will remove all entries holding SoftReferences to gc-evicted objects.  | 
                        
 | 
                            Object | 
                            get(Object key) | 
                        
 | 
                            Object | 
                            put(Object key, Object value) | 
                        
Copyright © 2003-2017 The Apache Software Foundation. All rights reserved.