com.facebook.common.disk.DiskTrimmableRegistry |
Known Indirect Subclasses |
A class which keeps a list of other classes to be notified of system disk events.
If a class uses a lot of disk space and needs these notices from the system, it should
implement the DiskTrimmable
interface.
Implementations of this class should notify all the trimmables that have registered with it when they need to trim their disk usage.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
registerDiskTrimmable(DiskTrimmable trimmable)
Register an object.
| ||||||||||
abstract void |
unregisterDiskTrimmable(DiskTrimmable trimmable)
Unregister an object.
|