com.sleepycat.je.cleaner
Class RotationSelector
java.lang.Object
com.sleepycat.je.cleaner.RotationSelector
- All Implemented Interfaces:
- FileSelector
- class RotationSelector
- extends Object
- implements FileSelector
A file selector that rotates through all files that can be cleaned, starting
with the first/oldest file available. It moves forward in age sequence, and
wraps back to the first file when a non-cleanable file is encountered.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RotationSelector
RotationSelector(EnvironmentImpl env)
- Creates a rotation file selector.
getFileToClean
public FileRetryInfo getFileToClean(Set excludeFiles,
boolean aggressive)
- Gets the next file in rotation to be cleaned. If endFileProcessing was
not called on the last cycle, the same file will be returned again.
- Specified by:
getFileToClean
in interface FileSelector
Copyright 2004 Sleepycat, Inc. All Rights Reserved.