Package | Description |
---|---|
org.apache.jackrabbit.oak.segment | |
org.apache.jackrabbit.oak.segment.file | |
org.apache.jackrabbit.oak.segment.memory |
Modifier and Type | Method and Description |
---|---|
@NotNull Segment |
RecordId.getSegment() |
@NotNull Segment |
SegmentId.getSegment()
Get the segment identified by this instance.
|
abstract @NotNull Segment |
SegmentCache.getSegment(@NotNull SegmentId id,
@NotNull Callable<Segment> loader)
Retrieve an segment from the cache or load it and cache it if not yet in
the cache.
|
@NotNull Segment |
SegmentStore.readSegment(SegmentId segmentId)
Reads the identified segment from this store.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
SegmentCache.putSegment(@NotNull Segment segment)
Put a segment into the cache.
|
static @Nullable String |
SegmentBlob.readBlobId(@NotNull Segment segment,
int recordNumber) |
int |
CacheWeights.SegmentCacheWeigher.weigh(@NotNull SegmentId id,
@NotNull Segment segment) |
Modifier and Type | Method and Description |
---|---|
@NotNull Segment |
FileStore.readSegment(SegmentId id) |
@NotNull Segment |
ReadOnlyFileStore.readSegment(SegmentId id) |
Modifier and Type | Method and Description |
---|---|
@NotNull Segment |
MemoryStore.readSegment(SegmentId id) |
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.