public class FileSelector extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FileSelector.CheckpointStartCleanerState
Holds copy of all checkpoint-dependent cleaner state.
|
| Modifier and Type | Method and Description |
|---|---|
NavigableSet<Long> |
getInProgressFiles()
Returns a copy of the in-progress files, or an empty set if there are
none.
|
void |
injectFileForCleaning(Long fileNum)
For unit testing.
|
boolean |
isCheckpointNeeded()
Returns whether any files are cleaned, meaning that a checkpoint is
needed before they can be deleted.
|
String |
toString() |
public void injectFileForCleaning(Long fileNum)
public boolean isCheckpointNeeded()
public NavigableSet<Long> getInProgressFiles()
Copyright © 2024. All rights reserved.