public class AssetRetentionPolicy extends Object implements RetentionPolicy
Created by Jeff Gaynor
on 4/15/14 at 12:23 PM
Constructor and Description |
---|
AssetRetentionPolicy(AssetStore rts) |
Modifier and Type | Method and Description |
---|---|
boolean |
applies()
Always true for every element in the cache.
|
Map |
getMap()
The cache to which this policy is applied.
|
boolean |
retain(Object key,
Object value) |
public AssetRetentionPolicy(AssetStore rts)
public boolean applies()
applies
in interface RetentionPolicy
public boolean retain(Object key, Object value)
retain
in interface RetentionPolicy
public Map getMap()
RetentionPolicy
getMap
in interface RetentionPolicy
Copyright © 2019. All Rights Reserved.