public static interface


Known Indirect Subclasses

Class Overview

An interface for Objects used in the SurfaceManager cache to implement if they have data that should be flushed when the Image is flushed.


Public Methods
abstract boolean flush(boolean deaccelerated)
Flush all cached resources.

Public Methods

public abstract boolean flush (boolean deaccelerated)

Flush all cached resources. The deaccelerated parameter indicates if the flush is happening because the associated surface is no longer being accelerated (for instance the acceleration priority is set below the threshold needed for acceleration). Returns a boolean that indicates if the cached object is no longer needed and should be removed from the cache.