public interface

PoolStatsTracker

com.facebook.imagepipeline.memory.PoolStatsTracker
Known Indirect Subclasses

Class Overview

Listener that logs pool statistics.

Summary

Constants
String BUCKETS_USED_PREFIX
String FREE_BYTES
String FREE_COUNT
String HARD_CAP
String SOFT_CAP
String USED_BYTES
String USED_COUNT
Public Methods
abstract void onAlloc(int size)
abstract void onFree(int sizeInBytes)
abstract void onHardCapReached()
abstract void onSoftCapReached()
abstract void onValueRelease(int sizeInBytes)
abstract void onValueReuse(int bucketedSize)
abstract void setBasePool(BasePool basePool)

Constants

public static final String BUCKETS_USED_PREFIX

Constant Value: "buckets_used_"

public static final String FREE_BYTES

Constant Value: "free_bytes"

public static final String FREE_COUNT

Constant Value: "free_count"

public static final String HARD_CAP

Constant Value: "hard_cap"

public static final String SOFT_CAP

Constant Value: "soft_cap"

public static final String USED_BYTES

Constant Value: "used_bytes"

public static final String USED_COUNT

Constant Value: "used_count"

Public Methods

public abstract void onAlloc (int size)

public abstract void onFree (int sizeInBytes)

public abstract void onHardCapReached ()

public abstract void onSoftCapReached ()

public abstract void onValueRelease (int sizeInBytes)

public abstract void onValueReuse (int bucketedSize)

public abstract void setBasePool (BasePool basePool)