| 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 |
|---|---|
Segment |
SegmentId.getSegment()
Get the segment identified by this instance.
|
Segment |
RecordId.getSegment() |
Segment |
SegmentCache.getSegment(SegmentId id,
Callable<Segment> loader)
Retrieve an segment from the cache or load it and cache it if not yet in the cache.
|
Segment |
SegmentStore.readSegment(SegmentId segmentId)
Reads the identified segment from this store.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SegmentCache.putSegment(Segment segment)
Put a segment into the cache
|
static String |
SegmentBlob.readBlobId(Segment segment,
int recordNumber) |
int |
CacheWeights.SegmentCacheWeigher.weigh(SegmentId id,
Segment segment) |
| Modifier and Type | Method and Description |
|---|---|
Segment |
SegmentCache.getSegment(SegmentId id,
Callable<Segment> loader)
Retrieve an segment from the cache or load it and cache it if not yet in the cache.
|
| Modifier and Type | Method and Description |
|---|---|
Segment |
FileStore.readSegment(SegmentId id) |
Segment |
ReadOnlyFileStore.readSegment(SegmentId id) |
| Modifier and Type | Method and Description |
|---|---|
Segment |
MemoryStore.readSegment(SegmentId id) |
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.