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 GCGenerationSegment. getGcGeneration()Determine the gc generation of this segment.static GCGenerationSegment. getGcGeneration(SegmentData data, UUID segmentId)Determine the gc generation a segment from its data.@NotNull GCGenerationSegmentId. getGcGeneration()Get the underlying segment's gc generation.@NotNull GCGenerationSegmentBufferWriter. getGCGeneration()@NotNull GCGenerationSegmentBufferWriterPool. getGCGeneration()Methods in org.apache.jackrabbit.oak.segment with parameters of type GCGeneration Modifier and Type Method Description @NotNull RecordIdSegmentBufferWriter. execute(@NotNull GCGeneration gcGeneration, @NotNull org.apache.jackrabbit.oak.segment.WriteOperationHandler.WriteOperation writeOperation)SegmentWriterSegmentWriterFactory. newSegmentWriter(GCGeneration generation)protected @NotNull SegmentBufferWriterSegmentBufferWriterPool. newWriter(@NotNull GCGeneration gcGeneration)@NotNull DefaultSegmentWriterBuilderDefaultSegmentWriterBuilder. withGeneration(@NotNull GCGeneration generation)Specify thegenerationfor 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.SegmentBufferWriterPoolFactorySegmentBufferWriterPool. factory(@NotNull SegmentIdProvider idProvider, @NotNull String wid, @NotNull Supplier<GCGeneration> gcGeneration)voidSegmentNodeStoreMonitor. onCommitQueued(Thread t, Supplier<GCGeneration> gcGeneration)Notifies the monitor when a new commit couldn't be persisted, but was queued for later retry.voidSegmentNodeStoreStats. onCommitQueued(Thread t, Supplier<GCGeneration> gcGeneration)@NotNull DefaultSegmentWriterBuilderDefaultSegmentWriterBuilder. withGeneration(@NotNull Supplier<GCGeneration> generation)Specify thegenerationfor 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, @Nullable 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 GCGenerationGCJournal.GCJournalEntry. getGcGeneration()Returns the gc generationMethods in org.apache.jackrabbit.oak.segment.file with parameters of type GCGeneration Modifier and Type Method Description voidGCJournal. persist(long reclaimedSize, long repoSize, @NotNull GCGeneration gcGeneration, long nodes, @NotNull 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 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 GCGenerationGCGeneration. NULLMethods in org.apache.jackrabbit.oak.segment.file.tar that return GCGeneration Modifier and Type Method Description static GCGenerationGCGeneration. newGCGeneration(int generation, int fullGeneration, boolean isCompacted)static GCGenerationGCGeneration. newGCGeneration(SegmentArchiveEntry indexEntry)@NotNull GCGenerationGCGeneration. nextFull()Create a new instance with the generation and the full generation incremented by one and the compaction flag set.@NotNull GCGenerationGCGeneration. nextPartial()Create a new instance with the compaction flag set and the generation and the full generation left unchanged.@NotNull GCGenerationGCGeneration. nextTail()Create a new instance with the generation incremented by one, the full generation left unchanged and the compaction flag set.@NotNull GCGenerationGCGeneration. 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 intGCGeneration. compareFullGenerationWith(@NotNull GCGeneration gcGeneration)Compare this full generation the full generation ofgcGenerationintGCGeneration. compareWith(@NotNull GCGeneration gcGeneration)Compare this generation withgcGenerationvoidEntryRecovery. recoverBinaryReference(GCGeneration generation, UUID segmentId, String reference)voidEntryRecovery. recoverEntry(long msb, long lsb, byte[] data, int offset, int size, GCGeneration generation)booleanCleanupContext. shouldReclaim(UUID id, GCGeneration generation, boolean referenced)Check if an entry should be reclaimed.voidTarFiles. writeSegment(UUID id, byte[] buffer, int offset, int length, GCGeneration generation, Set<UUID> references, Set<String> binaryReferences)Method parameters in org.apache.jackrabbit.oak.segment.file.tar with type arguments of type GCGeneration Modifier and Type Method Description voidTarFiles. collectBlobReferences(Consumer<String> collector, 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 GCGenerationCommit. getGCGeneration()This method makes a best effort on getting the gc generation of the current commit.
-