Class WeakRefCloneAssetCache

All Implemented Interfaces:

public class WeakRefCloneAssetCache extends Object implements AssetCache
WeakRefCloneAssetCache caches cloneable assets in a weak-key cache, allowing them to be collected when memory is low. The cache stores weak references to the asset keys, so that when all clones of the original asset are collected, will cause the asset to be automatically removed from the cache.