Back to Fresco

DiskTrimmableRegistry

docs/javadoc/reference/com/facebook/common/disk/DiskTrimmableRegistry.html

3.6.011.0 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

Summary: Methods | [Expand All]

public interface

DiskTrimmableRegistry

| com.facebook.common.disk.DiskTrimmableRegistry |

| Known Indirect Subclasses

NoOpDiskTrimmableRegistry

| NoOpDiskTrimmableRegistry | Implementation of DiskTrimmableRegistry that does not do anything. |

|

Class Overview

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.

Summary

Public Methods
abstract void
Register an object.
abstract void
Unregister an object.

Public Methods

public abstract void registerDiskTrimmable(DiskTrimmable trimmable)

Register an object.

public abstract void unregisterDiskTrimmable(DiskTrimmable trimmable)

Unregister an object.

+Generated by Doclava. +