Class UUCRetentionPolicy
- java.lang.Object
-
- org.oa4mp.delegation.server.uuc.storage.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 Summary
Constructors Constructor Description UUCRetentionPolicy(edu.uiuc.ncsa.security.core.Store store, UUCConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applies()
Map
getMap()
edu.uiuc.ncsa.security.storage.cli.StoreArchiver
getStoreArchiver()
int[]
retain(edu.uiuc.ncsa.security.core.Identifier id, Date create, Date lastAccessed, Date lastModified)
Retention call.boolean
retain(Object key, Object value)
-
-
-
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, seeUUCConfiguration
.- Parameters:
id
-create
-lastAccessed
-lastModified
-- 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
-
applies
public boolean applies()
- Specified by:
applies
in interfaceedu.uiuc.ncsa.security.core.cache.RetentionPolicy
-
-