Package eu.europa.esig.dss.tsl.cache
Class CacheCleaner
java.lang.Object
eu.europa.esig.dss.tsl.cache.CacheCleaner
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor instantiating object with default configuration and null file loader -
Method Summary
Modifier and TypeMethodDescriptionvoidclean(CacheAccessByKey cacheAccess) Cleans the given entryvoidsetCleanFileSystem(boolean cleanFileSystem) Setter for cleanFileSystem propertyvoidsetCleanMemory(boolean cleanMemory) Setter for cleanMemory propertyvoidsetDSSFileLoader(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
-