Uses of Class
org.apache.jackrabbit.oak.segment.file.tar.GCGeneration
-
Packages that use GCGeneration Package Description org.apache.jackrabbit.oak.segment org.apache.jackrabbit.oak.segment.file org.apache.jackrabbit.oak.segment.file.tar org.apache.jackrabbit.oak.segment.scheduler -
-
Uses of GCGeneration in org.apache.jackrabbit.oak.segment
Methods in org.apache.jackrabbit.oak.segment that return GCGeneration Modifier and Type Method Description @NotNull GCGeneration
Segment. getGcGeneration()
Determine the gc generation of this segment.static GCGeneration
Segment. getGcGeneration(SegmentData data, java.util.UUID segmentId)
Determine the gc generation a segment from its data.@NotNull GCGeneration
SegmentId. getGcGeneration()
Get the underlying segment's gc generation.@NotNull GCGeneration
SegmentBufferWriter. getGCGeneration()
@NotNull GCGeneration
SegmentBufferWriterPool. getGCGeneration()
Methods in org.apache.jackrabbit.oak.segment with parameters of type GCGeneration Modifier and Type Method Description @NotNull RecordId
SegmentBufferWriter. execute(@NotNull GCGeneration gcGeneration, @NotNull org.apache.jackrabbit.oak.segment.WriteOperationHandler.WriteOperation writeOperation)
SegmentWriter
SegmentWriterFactory. newSegmentWriter(GCGeneration generation)
protected @NotNull SegmentBufferWriter
SegmentBufferWriterPool. newWriter(@NotNull GCGeneration gcGeneration)
@NotNull DefaultSegmentWriterBuilder
DefaultSegmentWriterBuilder. withGeneration(@NotNull GCGeneration generation)
Specify thegeneration
for the segment written by the returned segment writer.Method parameters in org.apache.jackrabbit.oak.segment with type arguments of type GCGeneration Modifier and Type Method Description static SegmentBufferWriterPool.SegmentBufferWriterPoolFactory
SegmentBufferWriterPool. factory(@NotNull SegmentIdProvider idProvider, @NotNull SegmentReader reader, @NotNull java.lang.String wid, @NotNull org.apache.jackrabbit.guava.common.base.Supplier<GCGeneration> gcGeneration)
void
SegmentNodeStoreMonitor. onCommitQueued(java.lang.Thread t, java.util.function.Supplier<GCGeneration> gcGeneration)
Notifies the monitor when a new commit couldn't be persisted, but was queued for later retry.void
SegmentNodeStoreStats. onCommitQueued(java.lang.Thread t, java.util.function.Supplier<GCGeneration> gcGeneration)
@NotNull DefaultSegmentWriterBuilder
DefaultSegmentWriterBuilder. withGeneration(@NotNull org.apache.jackrabbit.guava.common.base.Supplier<GCGeneration> generation)
Specify thegeneration
for the segment written by the returned segment writer.Constructors in org.apache.jackrabbit.oak.segment with parameters of type GCGeneration Constructor Description SegmentBufferWriter(@NotNull SegmentIdProvider idProvider, @NotNull SegmentReader reader, @Nullable java.lang.String wid, @NotNull GCGeneration gcGeneration)
-
Uses of GCGeneration in org.apache.jackrabbit.oak.segment.file
Methods in org.apache.jackrabbit.oak.segment.file that return GCGeneration Modifier and Type Method Description @NotNull GCGeneration
GCJournal.GCJournalEntry. getGcGeneration()
Returns the gc generationMethods in org.apache.jackrabbit.oak.segment.file with parameters of type GCGeneration Modifier and Type Method Description void
GCJournal. persist(long reclaimedSize, long repoSize, @NotNull GCGeneration gcGeneration, long nodes, @NotNull java.lang.String root)
Persists the repository stats (current size, reclaimed size, gc generation, number of compacted nodes) following a cleanup operation for a successful compaction.Constructors in org.apache.jackrabbit.oak.segment.file with parameters of type GCGeneration Constructor Description CompactionWriter(@NotNull SegmentReader reader, @Nullable BlobStore blobStore, @NotNull GCGeneration generation, @NotNull SegmentWriter segmentWriter)
GCIncrement(@NotNull GCGeneration base, @NotNull GCGeneration partial, @NotNull GCGeneration target)
GCJournalEntry(long repoSize, long reclaimedSize, long ts, @NotNull GCGeneration gcGeneration, long nodes, @NotNull java.lang.String root)
-
Uses of GCGeneration in org.apache.jackrabbit.oak.segment.file.tar
Fields in org.apache.jackrabbit.oak.segment.file.tar declared as GCGeneration Modifier and Type Field Description static GCGeneration
GCGeneration. NULL
Methods in org.apache.jackrabbit.oak.segment.file.tar that return GCGeneration Modifier and Type Method Description static GCGeneration
GCGeneration. newGCGeneration(int generation, int fullGeneration, boolean isCompacted)
static GCGeneration
GCGeneration. newGCGeneration(SegmentArchiveEntry indexEntry)
@NotNull GCGeneration
GCGeneration. nextFull()
Create a new instance with the generation and the full generation incremented by one and the compaction flag set.@NotNull GCGeneration
GCGeneration. nextPartial()
Create a new instance with the compaction flag set and the generation and the full generation left unchanged.@NotNull GCGeneration
GCGeneration. nextTail()
Create a new instance with the generation incremented by one, the full generation left unchanged and the compaction flag set.@NotNull GCGeneration
GCGeneration. nonGC()
Create a new instance with the compaction flag unset and the generation and the full generation left unchanged.Methods in org.apache.jackrabbit.oak.segment.file.tar with parameters of type GCGeneration Modifier and Type Method Description int
GCGeneration. compareFullGenerationWith(@NotNull GCGeneration gcGeneration)
Compare this full generation the full generation ofgcGeneration
int
GCGeneration. compareWith(@NotNull GCGeneration gcGeneration)
Compare this generation withgcGeneration
void
EntryRecovery. recoverBinaryReference(GCGeneration generation, java.util.UUID segmentId, java.lang.String reference)
void
EntryRecovery. recoverEntry(long msb, long lsb, byte[] data, int offset, int size, GCGeneration generation)
boolean
CleanupContext. shouldReclaim(java.util.UUID id, GCGeneration generation, boolean referenced)
Check if an entry should be reclaimed.void
TarFiles. writeSegment(java.util.UUID id, byte[] buffer, int offset, int length, GCGeneration generation, java.util.Set<java.util.UUID> references, java.util.Set<java.lang.String> binaryReferences)
Method parameters in org.apache.jackrabbit.oak.segment.file.tar with type arguments of type GCGeneration Modifier and Type Method Description void
TarFiles. collectBlobReferences(java.util.function.Consumer<java.lang.String> collector, org.apache.jackrabbit.guava.common.base.Predicate<GCGeneration> reclaim)
-
Uses of GCGeneration in org.apache.jackrabbit.oak.segment.scheduler
Methods in org.apache.jackrabbit.oak.segment.scheduler that return GCGeneration Modifier and Type Method Description @Nullable GCGeneration
Commit. getGCGeneration()
This method makes a best effort on getting the gc generation of the current commit.
-