Class WeakRefCloneAssetCache

java.lang.Object
com.jme3.asset.cache.WeakRefCloneAssetCache
All Implemented Interfaces:
AssetCache

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.