Back to Fresco

DiskTrimmable

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

3.6.010.6 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

Summary: Methods | [Expand All]

public interface

DiskTrimmable

| com.facebook.common.disk.DiskTrimmable |

| Known Indirect Subclasses

DiskStorageCache, FileCache

| DiskStorageCache | Cache that manages disk storage. | | FileCache | Interface that caches based on disk should implement. |

|

Class Overview

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

Summary

Public Methods
abstract void
Called when there is very little disk space left.
abstract void
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

+Generated by Doclava. +