org.alfresco.repo.content.caching.cleanup
Class CachedContentCleaner

java.lang.Object
  extended by org.alfresco.repo.content.caching.cleanup.CachedContentCleaner
All Implemented Interfaces:
FileHandler

public class CachedContentCleaner
extends java.lang.Object
implements FileHandler

Cleans up redundant cache files from the cached content file store. Once references to cache files are no longer in the in-memory cache, the binary content files can be removed.


Constructor Summary
CachedContentCleaner()
           
 
Method Summary
 void execute()
           
 void handle(java.io.File cachedContentFile)
           
 void setCache(ContentCacheImpl cache)
           
 void setMaxDeleteWatchCount(java.lang.Integer maxDeleteWatchCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedContentCleaner

public CachedContentCleaner()
Method Detail

execute

public void execute()

handle

public void handle(java.io.File cachedContentFile)
Specified by:
handle in interface FileHandler

setCache

public void setCache(ContentCacheImpl cache)

setMaxDeleteWatchCount

public void setMaxDeleteWatchCount(java.lang.Integer maxDeleteWatchCount)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.