Package org.projectnessie.gc.expire
Interface ExpireParameters.Builder
-
- Enclosing interface:
- ExpireParameters
public static interface ExpireParameters.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpireParameters.BuilderallowedFalsePositiveProbability(double allowedFalsePositiveProbability)ExpireParametersbuild()ExpireParameters.BuildercontentToFiles(ContentToFiles contentToFiles)Function to retrieve all live files for a content-reference.ExpireParameters.BuilderexpectedFileCount(long expectedFileCount)The total number of expected live files for a single content, defaults to 1000000L, used to construct the bloom-filter identifying whether a file is live, seefalsePositiveProbability(double).ExpireParameters.BuilderfalsePositiveProbability(double falsePositiveProbability)The false-positive-probability used to construct the bloom-filter identifying whether a file is live, defaults to 1000000L, seeexpectedFileCount(long).ExpireParameters.BuilderfileDeleter(FileDeleter fileDeleter)Function to delete files.ExpireParameters.BuilderfilesLister(FilesLister filesLister)Function used to recustively list files from a base location.ExpireParameters.BuilderliveContentSet(LiveContentSet liveContentSet)The set of live content objects, the result ofIdentifyLiveContents.identifyLiveContents().ExpireParameters.BuildermaxFileModificationTime(java.time.Instant maxFileModificationTime)Files newer than this instant will not be deleted.
-
-
-
Method Detail
-
expectedFileCount
@CanIgnoreReturnValue ExpireParameters.Builder expectedFileCount(long expectedFileCount)
The total number of expected live files for a single content, defaults to 1000000L, used to construct the bloom-filter identifying whether a file is live, seefalsePositiveProbability(double).
-
falsePositiveProbability
@CanIgnoreReturnValue ExpireParameters.Builder falsePositiveProbability(double falsePositiveProbability)
The false-positive-probability used to construct the bloom-filter identifying whether a file is live, defaults to 1000000L, seeexpectedFileCount(long).
-
allowedFalsePositiveProbability
@CanIgnoreReturnValue ExpireParameters.Builder allowedFalsePositiveProbability(double allowedFalsePositiveProbability)
-
filesLister
@CanIgnoreReturnValue ExpireParameters.Builder filesLister(FilesLister filesLister)
Function used to recustively list files from a base location.
-
contentToFiles
@CanIgnoreReturnValue ExpireParameters.Builder contentToFiles(ContentToFiles contentToFiles)
Function to retrieve all live files for a content-reference.
-
liveContentSet
@CanIgnoreReturnValue ExpireParameters.Builder liveContentSet(LiveContentSet liveContentSet)
The set of live content objects, the result ofIdentifyLiveContents.identifyLiveContents().
-
maxFileModificationTime
@CanIgnoreReturnValue ExpireParameters.Builder maxFileModificationTime(java.time.Instant maxFileModificationTime)
Files newer than this instant will not be deleted.
-
fileDeleter
@CanIgnoreReturnValue ExpireParameters.Builder fileDeleter(FileDeleter fileDeleter)
Function to delete files.
-
build
ExpireParameters build()
-
-