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 |
Modifier and Type | Method and Description |
---|---|
@NotNull GCGeneration |
Segment.getGcGeneration()
Determine the gc generation of this segment.
|
@NotNull GCGeneration |
SegmentId.getGcGeneration()
Get the underlying segment's gc generation.
|
@NotNull GCGeneration |
SegmentBufferWriter.getGCGeneration() |
@NotNull GCGeneration |
SegmentBufferWriterPool.getGCGeneration() |
static GCGeneration |
Segment.getGcGeneration(SegmentData data,
UUID segmentId)
Determine the gc generation a segment from its data.
|
Modifier and Type | Method and Description |
---|---|
@NotNull RecordId |
SegmentBufferWriter.execute(@NotNull GCGeneration gcGeneration,
@NotNull org.apache.jackrabbit.oak.segment.WriteOperationHandler.WriteOperation writeOperation) |
@NotNull RecordId |
SegmentBufferWriterPool.execute(@NotNull GCGeneration gcGeneration,
@NotNull org.apache.jackrabbit.oak.segment.WriteOperationHandler.WriteOperation writeOperation) |
@NotNull DefaultSegmentWriterBuilder |
DefaultSegmentWriterBuilder.withGeneration(@NotNull GCGeneration generation)
Specify the
generation for the segment written by the returned
segment writer. |
Modifier and Type | Method and Description |
---|---|
void |
SegmentNodeStoreMonitor.onCommitQueued(Thread t,
Supplier<GCGeneration> gcGeneration)
Notifies the monitor when a new commit couldn't be persisted, but was
queued for later retry.
|
void |
SegmentNodeStoreStats.onCommitQueued(Thread t,
Supplier<GCGeneration> gcGeneration) |
Constructor and Description |
---|
SegmentBufferWriter(@NotNull SegmentIdProvider idProvider,
@NotNull SegmentReader reader,
@Nullable String wid,
@NotNull GCGeneration gcGeneration) |
Modifier and Type | Method and Description |
---|---|
@NotNull GCGeneration |
GCJournal.GCJournalEntry.getGcGeneration()
Returns the gc generation
|
Modifier and Type | Method and Description |
---|---|
void |
GCJournal.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.
|
Constructor and Description |
---|
GCJournalEntry(long repoSize,
long reclaimedSize,
long ts,
@NotNull GCGeneration gcGeneration,
long nodes,
@NotNull String root) |
Modifier and Type | Field and Description |
---|---|
static GCGeneration |
GCGeneration.NULL |
Modifier and Type | Method and 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 left unchanged.
|
@NotNull GCGeneration |
GCGeneration.nextTail()
Create a new instance with the generation incremented by one and the full
generation and the compaction flag left unchanged.
|
@NotNull GCGeneration |
GCGeneration.nonGC()
Create a new instance with the compaction flag unset and the generation and the
full generation left unchanged.
|
Modifier and Type | Method and Description |
---|---|
int |
GCGeneration.compareFullGenerationWith(@NotNull GCGeneration gcGeneration)
Compare this full generation the full generation of
gcGeneration |
int |
GCGeneration.compareWith(@NotNull GCGeneration gcGeneration)
Compare this generation with
gcGeneration |
void |
EntryRecovery.recoverBinaryReference(GCGeneration generation,
UUID segmentId,
String reference) |
void |
EntryRecovery.recoverEntry(long msb,
long lsb,
byte[] data,
int offset,
int size,
GCGeneration generation) |
boolean |
CleanupContext.shouldReclaim(UUID id,
GCGeneration generation,
boolean referenced)
Check if an entry should be reclaimed.
|
void |
TarFiles.writeSegment(UUID id,
byte[] buffer,
int offset,
int length,
GCGeneration generation,
Set<UUID> references,
Set<String> binaryReferences) |
Modifier and Type | Method and Description |
---|---|
void |
TarFiles.collectBlobReferences(Consumer<String> collector,
Predicate<GCGeneration> reclaim) |
Modifier and Type | Method and Description |
---|---|
@Nullable GCGeneration |
Commit.getGCGeneration()
This method makes a best effort on getting the gc generation of the current commit.
|
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.