A B C D E F G H I M N O P S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addContent(String, Content) - Method in class org.projectnessie.gc.base.IdentifiedResult
B
- bloomFilterExpectedEntries(Long) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Initializes the value for the
bloomFilterExpectedEntriesattribute. - bloomFilterFpp(double) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Initializes the value for the
bloomFilterFppattribute. - build() - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Builds a new
ImmutableGCParams. - builder() - Static method in class org.projectnessie.gc.base.ImmutableGCParams
-
Creates a builder for
ImmutableGCParams.
C
- commitProtectionDuration(Duration) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Initializes the value for the
commitProtectionDurationattribute. - computeExpiredContentsFunc(Map<String, ContentBloomFilter>) - Method in class org.projectnessie.gc.base.IdentifyContentsPerExecutor
- computeLiveContentsFunc(long, Map<Reference, Instant>) - Method in class org.projectnessie.gc.base.IdentifyContentsPerExecutor
- ContentBloomFilter - Class in org.projectnessie.gc.base
-
A utility class wrapping bloom filter functionality.
- ContentBloomFilter(long, double) - Constructor for class org.projectnessie.gc.base.ContentBloomFilter
- ContentValues - Class in org.projectnessie.gc.base
-
Contains details about one content id: like expired contents.
- ContentValues() - Constructor for class org.projectnessie.gc.base.ContentValues
- copyOf(GCParams) - Static method in class org.projectnessie.gc.base.ImmutableGCParams
-
Creates an immutable copy of a
GCParamsvalue. - cutOffTimestampPerRef(Map<String, ? extends Instant>) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Sets or replaces all mappings from the specified map as entries for the
cutOffTimestampPerRefmap.
D
- deadReferenceCutOffTimeStamp(Instant) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Initializes the value for the
deadReferenceCutOffTimeStampattribute. - defaultCutOffTimestamp(Instant) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Initializes the value for the
defaultCutOffTimestampattribute. - DistributedIdentifyContents - Class in org.projectnessie.gc.base
-
Identify the expired and live contents in a distributed way using the spark and bloom filter by walking all the references (both dead and live).
- DistributedIdentifyContents(SparkSession, GCParams) - Constructor for class org.projectnessie.gc.base.DistributedIdentifyContents
E
- equals(Object) - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
This instance is equal to all instances of
ImmutableGCParamsthat have equal attribute values.
F
- from(GCParams) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Fill a builder with attribute values from the provided
GCParamsinstance.
G
- GCImpl - Class in org.projectnessie.gc.base
-
Encapsulates the logic to retrieve expired contents by walking over all commits in all named-references.
- GCImpl(GCParams) - Constructor for class org.projectnessie.gc.base.GCImpl
-
Instantiates a new GCImpl.
- GCParams - Interface in org.projectnessie.gc.base
-
Config params for GC.
- GCUtil - Class in org.projectnessie.gc.base
- getBloomFilterExpectedEntries() - Method in interface org.projectnessie.gc.base.GCParams
-
Optional bloom filter expected live commits entries per reference.
- getBloomFilterExpectedEntries() - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Optional bloom filter expected live commits entries per reference.
- getBloomFilterFpp() - Method in interface org.projectnessie.gc.base.GCParams
-
Optional bloom filter fpp.
- getBloomFilterFpp() - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Optional bloom filter fpp.
- getCommitProtectionDuration() - Method in interface org.projectnessie.gc.base.GCParams
-
Commit protection duration to avoid expiring on going or recent commits.
- getCommitProtectionDuration() - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Commit protection duration to avoid expiring on going or recent commits.
- getContentValues() - Method in class org.projectnessie.gc.base.IdentifiedResult
- getContentValuesForReference(String) - Method in class org.projectnessie.gc.base.IdentifiedResult
- getCutOffTimestampPerRef() - Method in interface org.projectnessie.gc.base.GCParams
-
Optional cutoff time per live reference.
- getCutOffTimestampPerRef() - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Optional cutoff time per live reference.
- getDeadReferenceCutOffTimeStamp() - Method in interface org.projectnessie.gc.base.GCParams
-
Optional cutoff time for all the dead references.
- getDeadReferenceCutOffTimeStamp() - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Optional cutoff time for all the dead references.
- getDefaultCutOffTimestamp() - Method in interface org.projectnessie.gc.base.GCParams
-
Default cutoff time for all the references.
- getDefaultCutOffTimestamp() - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Default cutoff time for all the references.
- getExpectedFpp() - Method in class org.projectnessie.gc.base.ContentBloomFilter
- getExpiredContents() - Method in class org.projectnessie.gc.base.ContentValues
- getIdentifiedResults(Map<String, ContentBloomFilter>, List<Reference>) - Method in class org.projectnessie.gc.base.DistributedIdentifyContents
-
Gets the expired contents per content id by walking all the live and dead references in a distributed way using spark and checking the contents against the live bloom filter results.
- getLiveContentsBloomFilters(List<Reference>, long, Map<Reference, Instant>) - Method in class org.projectnessie.gc.base.DistributedIdentifyContents
-
Compute the bloom filter per content id by walking all the live references in a distributed way using spark.
- getNessieClientConfigs() - Method in interface org.projectnessie.gc.base.GCParams
-
Nessie client configurations from
NessieConfigConstants. - getNessieClientConfigs() - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Nessie client configurations from
NessieConfigConstants. - getSparkPartitionsCount() - Method in interface org.projectnessie.gc.base.GCParams
-
Optional spark partitions count to be used for distributing references.
- getSparkPartitionsCount() - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Optional spark partitions count to be used for distributing references.
H
- hashCode() - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Computes a hash code from attributes:
nessieClientConfigs,cutOffTimestampPerRef,defaultCutOffTimestamp,deadReferenceCutOffTimeStamp,sparkPartitionsCount,commitProtectionDuration,bloomFilterExpectedEntries,bloomFilterFpp.
I
- IdentifiedResult - Class in org.projectnessie.gc.base
-
Output of Identify GC action
GCImpl.identifyExpiredContents(SparkSession). - IdentifiedResult() - Constructor for class org.projectnessie.gc.base.IdentifiedResult
- IdentifyContentsPerExecutor - Class in org.projectnessie.gc.base
-
Contains the methods that executes in spark executor for
GCImpl.identifyExpiredContents(SparkSession). - IdentifyContentsPerExecutor(GCParams) - Constructor for class org.projectnessie.gc.base.IdentifyContentsPerExecutor
- identifyExpiredContents(SparkSession) - Method in class org.projectnessie.gc.base.GCImpl
-
Identify the expired contents using a two-step traversal algorithm.
- ImmutableGCParams - Class in org.projectnessie.gc.base
-
Immutable implementation of
GCParams. - ImmutableGCParams.Builder - Class in org.projectnessie.gc.base
-
Builds instances of type
ImmutableGCParams.
M
- merge(ContentBloomFilter) - Method in class org.projectnessie.gc.base.ContentBloomFilter
- mightContain(Content) - Method in class org.projectnessie.gc.base.ContentBloomFilter
N
- nessieClientConfigs(Map<String, ? extends String>) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Sets or replaces all mappings from the specified map as entries for the
nessieClientConfigsmap.
O
- org.projectnessie.gc.base - package org.projectnessie.gc.base
P
- put(Content) - Method in class org.projectnessie.gc.base.ContentBloomFilter
- putAllCutOffTimestampPerRef(Map<String, ? extends Instant>) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Put all mappings from the specified map as entries to
cutOffTimestampPerRefmap. - putAllNessieClientConfigs(Map<String, ? extends String>) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Put all mappings from the specified map as entries to
nessieClientConfigsmap. - putCutOffTimestampPerRef(String, Instant) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Put one entry to the
cutOffTimestampPerRefmap. - putCutOffTimestampPerRef(Map.Entry<String, ? extends Instant>) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Put one entry to the
cutOffTimestampPerRefmap. - putNessieClientConfigs(String, String) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Put one entry to the
nessieClientConfigsmap. - putNessieClientConfigs(Map.Entry<String, ? extends String>) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Put one entry to the
nessieClientConfigsmap.
S
- sparkPartitionsCount(Integer) - Method in class org.projectnessie.gc.base.ImmutableGCParams.Builder
-
Initializes the value for the
sparkPartitionsCountattribute.
T
- toString() - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Prints the immutable value
GCParamswith attribute values.
V
- validate() - Method in interface org.projectnessie.gc.base.GCParams
W
- wasMerged() - Method in class org.projectnessie.gc.base.ContentBloomFilter
-
A merged bloomfilter might indicate decreased filter quality.
- withBloomFilterExpectedEntries(Long) - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Copy the current immutable object by setting a value for the
bloomFilterExpectedEntriesattribute. - withBloomFilterFpp(double) - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Copy the current immutable object by setting a value for the
bloomFilterFppattribute. - withCommitProtectionDuration(Duration) - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Copy the current immutable object by setting a value for the
commitProtectionDurationattribute. - withCutOffTimestampPerRef(Map<String, ? extends Instant>) - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Copy the current immutable object by replacing the
cutOffTimestampPerRefmap with the specified map. - withDeadReferenceCutOffTimeStamp(Instant) - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Copy the current immutable object by setting a value for the
deadReferenceCutOffTimeStampattribute. - withDefaultCutOffTimestamp(Instant) - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Copy the current immutable object by setting a value for the
defaultCutOffTimestampattribute. - withNessieClientConfigs(Map<String, ? extends String>) - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Copy the current immutable object by replacing the
nessieClientConfigsmap with the specified map. - withSparkPartitionsCount(Integer) - Method in class org.projectnessie.gc.base.ImmutableGCParams
-
Copy the current immutable object by setting a value for the
sparkPartitionsCountattribute.
All Classes All Packages