Package eu.europa.esig.dss.tsl.cache
Class CacheCleaner
java.lang.Object
eu.europa.esig.dss.tsl.cache.CacheCleaner
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with default configuration and null file loader -
Method Summary
Modifier and TypeMethodDescriptionvoid
clean
(CacheAccessByKey cacheAccess) Cleans the given entryvoid
setCleanFileSystem
(boolean cleanFileSystem) Setter for cleanFileSystem propertyvoid
setCleanMemory
(boolean cleanMemory) Setter for cleanMemory propertyvoid
setDSSFileLoader
(DSSCacheFileLoader dssFileLoader) Sets the DSSFileLoader that will be used for file removing
-
Constructor Details
-
CacheCleaner
public CacheCleaner()Default constructor instantiating object with default configuration and null file loader
-
-
Method Details
-
setCleanMemory
public void setCleanMemory(boolean cleanMemory) Setter for cleanMemory property- Parameters:
cleanMemory
- if TRUE, removes TO_BE_DELETED entries from in memory maps
-
setCleanFileSystem
public void setCleanFileSystem(boolean cleanFileSystem) Setter for cleanFileSystem property- Parameters:
cleanFileSystem
- if TRUE, removes TO_BE_DELETED entries from file system
-
setDSSFileLoader
Sets the DSSFileLoader that will be used for file removing- Parameters:
dssFileLoader
-DSSCacheFileLoader
-
clean
Cleans the given entry- Parameters:
cacheAccess
-CacheAccessByKey
-