Back to Fresco

com.facebook.common.memory

docs/javadoc/reference/com/facebook/common/memory/package-summary.html

3.6.012.5 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Enums

Exceptions

Packages | Classes

package

com.facebook.common.memory

Pool implementations for ByteBuffers and related Input/OutputStream implementations.

Interfaces

| ByteArrayPool | A pool of byte-arrays | | MemoryTrimmable | A class can implement this interface to react to a MemoryTrimmableRegistry's request to trim memory. | | MemoryTrimmableRegistry | A class which keeps a list of other classes to be notified of system memory events. | | Pool<V> | Manages a pool of reusable values of type V. | | PooledByteBuffer | A 'pooled' byte-buffer abstraction. | | PooledByteBufferFactory | A factory to create instances of PooledByteBuffer and PooledByteBufferOutputStream |

Classes

| NoOpMemoryTrimmableRegistry | Implementation of MemoryTrimmableRegistry that does not do anything. | | PooledByteArrayBufferedInputStream | InputStream that wraps another input stream and buffers all reads. | | PooledByteBufferInputStream | An InputStream implementation over a PooledByteBuffer instance | | PooledByteBufferOutputStream | An OutputStream that produces a PooledByteBuffer. | | PooledByteStreams | Helper class for interacting with java streams, similar to guava's ByteSteams. |

Enums

| MemoryTrimType | Types of memory trim. |

Exceptions

| PooledByteBuffer.ClosedException | Exception indicating that the PooledByteBuffer is closed |

+Generated by Doclava. +