Class 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 Detail

      • AssetRetentionPolicy

        public AssetRetentionPolicy​(AssetStore rts)
    • Method Detail

      • applies

        public boolean applies()
        Always true for every element in the cache.
        Specified by:
        applies in interface edu.uiuc.ncsa.security.core.cache.RetentionPolicy
        Returns:
      • retain

        public boolean retain​(Object key,
                              Object value)
        Specified by:
        retain in interface edu.uiuc.ncsa.security.core.cache.RetentionPolicy
      • getMap

        public Map getMap()
        Specified by:
        getMap in interface edu.uiuc.ncsa.security.core.cache.RetentionPolicy