com.sleepycat.je.cleaner
Class UtilizationSelector
java.lang.Object
com.sleepycat.je.cleaner.UtilizationSelector
- All Implemented Interfaces:
- FileSelector
- class UtilizationSelector
- extends Object
- implements FileSelector
Selects files for cleaning based on the utilization profile, and handles
retries when cleaning cannot be completed.
Method Summary |
FileRetryInfo |
getFileToClean(Set excludeFiles,
boolean aggressive)
Returns the file selected for cleaning, or null if none should be
cleaned. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UtilizationSelector
UtilizationSelector(EnvironmentImpl env,
UtilizationProfile profile)
throws DatabaseException
getFileToClean
public FileRetryInfo getFileToClean(Set excludeFiles,
boolean aggressive)
throws DatabaseException
- Description copied from interface:
FileSelector
- Returns the file selected for cleaning, or null if none should be
cleaned.
- Specified by:
getFileToClean
in interface FileSelector
- Throws:
DatabaseException
Copyright 2004 Sleepycat, Inc. All Rights Reserved.