org.alfresco.repo.content.caching.cleanup
Class CachedContentCleanupJobTest
java.lang.Object
org.alfresco.repo.content.caching.cleanup.CachedContentCleanupJobTest
public class CachedContentCleanupJobTest
- extends java.lang.Object
Tests for the CachedContentCleanupJob
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedContentCleanupJobTest
public CachedContentCleanupJobTest()
beforeClass
public static void beforeClass()
setUp
public void setUp()
throws java.io.IOException
- Throws:
java.io.IOException
filesNotInCacheAreDeleted
public void filesNotInCacheAreDeleted()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
filesNewerThanMinFileAgeMillisAreNotDeleted
public void filesNewerThanMinFileAgeMillisAreNotDeleted()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
aggressiveCleanReclaimsTargetSpace
public void aggressiveCleanReclaimsTargetSpace()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
standardCleanAfterAggressiveFinished
public void standardCleanAfterAggressiveFinished()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
emptyParentDirectoriesAreDeleted
public void emptyParentDirectoriesAreDeleted()
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
markedFilesHaveDeletionDeferredUntilCorrectPassOfCleaner
public void markedFilesHaveDeletionDeferredUntilCorrectPassOfCleaner()
filesInCacheAreNotDeleted
public void filesInCacheAreNotDeleted()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.