Class AssetRetentionPolicy
- java.lang.Object
-
- org.oa4mp.client.loader.AssetRetentionPolicy
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.cache.RetentionPolicy
public class AssetRetentionPolicy extends Object implements edu.uiuc.ncsa.security.core.cache.RetentionPolicy
Created by Jeff Gaynor
on 4/15/14 at 12:23 PM
-
-
Constructor Summary
Constructors Constructor Description AssetRetentionPolicy(AssetStore rts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applies()
Always true for every element in the cache.Map
getMap()
boolean
retain(Object key, Object value)
-
-
-
Constructor Detail
-
AssetRetentionPolicy
public AssetRetentionPolicy(AssetStore rts)
-
-
Method Detail
-
applies
public boolean applies()
Always true for every element in the cache.- Specified by:
applies
in interfaceedu.uiuc.ncsa.security.core.cache.RetentionPolicy
- Returns:
-
retain
public boolean retain(Object key, Object value)
- Specified by:
retain
in interfaceedu.uiuc.ncsa.security.core.cache.RetentionPolicy
-
getMap
public Map getMap()
- Specified by:
getMap
in interfaceedu.uiuc.ncsa.security.core.cache.RetentionPolicy
-
-