-
- All Implemented Interfaces:
-
com.facebook.imagepipeline.memory.PoolStatsTracker
public class NoOpPoolStatsTracker implements PoolStatsTracker
Empty implementation of PoolStatsTracker that does not perform any tracking.
-
-
Method Summary
Modifier and Type Method Description static synchronized NoOpPoolStatsTrackergetInstance()voidsetBasePool(BasePool basePool)voidonValueReuse(int bucketedSize)voidonSoftCapReached()voidonHardCapReached()voidonAlloc(int size)voidonFree(int sizeInBytes)voidonValueRelease(int sizeInBytes)-
Methods inherited from class com.facebook.imagepipeline.memory.PoolStatsTracker
onAlloc, onFree, onHardCapReached, onSoftCapReached, onValueRelease, onValueReuse, setBasePool -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getInstance
static synchronized NoOpPoolStatsTracker getInstance()
-
setBasePool
void setBasePool(BasePool basePool)
-
onValueReuse
void onValueReuse(int bucketedSize)
-
onSoftCapReached
void onSoftCapReached()
-
onHardCapReached
void onHardCapReached()
-
onAlloc
void onAlloc(int size)
-
onFree
void onFree(int sizeInBytes)
-
onValueRelease
void onValueRelease(int sizeInBytes)
-
-
-
-