java.lang.Object |
↳ |
com.facebook.imagepipeline.memory.LruBucketsPoolBackend<T> |
Known Direct Subclasses
|
Class Overview
Relies on BucketMap
to implement pooling Items from the bucket with LRU key will be
removed first
Summary
Public Methods |
T
|
get(int size)
|
abstract
int
|
getSize(T item)
|
T
|
pop()
|
void
|
put(T item)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
LruBucketsPoolBackend
()
Public Methods
public
abstract
int
getSize
(T item)
Returns
- size for item which will be used in
get(int)