public abstract class DirectoryCleanerArgs extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DirectoryCleanerArgs.Builder |
Constructor and Description |
---|
DirectoryCleanerArgs() |
Modifier and Type | Method and Description |
---|---|
static DirectoryCleanerArgs.Builder |
builder() |
abstract Optional<Long> |
getMaxBytesAfterDeletion() |
int |
getMaxPathCount() |
long |
getMaxTotalSizeBytes() |
int |
getMinAmountOfEntriesToKeep() |
abstract DirectoryCleaner.PathSelector |
getPathSelector() |
public abstract DirectoryCleaner.PathSelector getPathSelector()
@Value.Default public long getMaxTotalSizeBytes()
@Value.Default public int getMaxPathCount()
@Value.Default public int getMinAmountOfEntriesToKeep()
public static DirectoryCleanerArgs.Builder builder()