public interface

DiskTrimmable

com.facebook.common.disk.DiskTrimmable

Class Overview

Any class that uses a lot of disk space and should implement this interface.

Summary

Public Methods
abstract void trimToMinimum()
Called when there is very little disk space left.
abstract void trimToNothing()
Called when there is almost no disk space left and the app is likely to crash soon

Public Methods

public abstract void trimToMinimum ()

Called when there is very little disk space left.

public abstract void trimToNothing ()

Called when there is almost no disk space left and the app is likely to crash soon