Class UUCRetentionPolicy

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.cache.RetentionPolicy

    public class UUCRetentionPolicy
    extends Object
    implements edu.uiuc.ncsa.security.core.cache.RetentionPolicy

    Created by Jeff Gaynor
    on 5/11/23 at 6:45 AM

    • Constructor Detail

      • UUCRetentionPolicy

        public UUCRetentionPolicy​(edu.uiuc.ncsa.security.core.Store store,
                                  UUCConfiguration config)
    • Method Detail

      • getStoreArchiver

        public edu.uiuc.ncsa.security.storage.cli.StoreArchiver getStoreArchiver()
      • retain

        public int[] retain​(edu.uiuc.ncsa.security.core.Identifier id,
                            Date create,
                            Date lastAccessed,
                            Date lastModified)
        Retention call. This returns an array of object. The zero-th element is always a boolean with the value (1 = retain, 0 = do not retain) and if false the second value is the name of the rule that was invoked, see UUCConfiguration.
        Parameters:
        id -
        create -
        lastAccessed -
        lastModified -
        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
      • applies

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