| Modifier and Type | Method and Description |
|---|---|
SegmentId |
Segment.getSegmentId() |
SegmentId |
RecordId.getSegmentId() |
SegmentId |
SegmentTracker.getSegmentId(long msb,
long lsb) |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<SegmentId> |
SegmentBlob.getBulkSegmentIds(org.apache.jackrabbit.oak.api.Blob blob) |
List<SegmentId> |
Segment.getReferencedIds() |
Set<SegmentId> |
SegmentTracker.getReferencedSegmentIds()
Returns all segment identifiers that are currently referenced in memory.
|
| Modifier and Type | Method and Description |
|---|---|
int |
SegmentId.compareTo(SegmentId that) |
boolean |
SegmentStore.containsSegment(SegmentId id)
Checks whether the identified segment exists in this store.
|
Segment |
SegmentStore.readSegment(SegmentId segmentId)
Reads the identified segment from this store.
|
void |
SegmentStore.writeSegment(SegmentId id,
byte[] bytes,
int offset,
int length)
Writes the given segment to the segment store.
|
| Constructor and Description |
|---|
RecordId(SegmentId segmentId,
int offset) |
Segment(SegmentTracker tracker,
SegmentId id,
ByteBuffer data) |
Segment(SegmentTracker tracker,
SegmentId id,
ByteBuffer data,
SegmentVersion version) |
SegmentNotFoundException(SegmentId id) |
SegmentNotFoundException(SegmentId id,
Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CompactionStrategy.canRemove(SegmentId id) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<SegmentId> |
FileStore.getSegmentIds() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FileStore.containsSegment(SegmentId id) |
Segment |
FileStore.readSegment(SegmentId id) |
void |
FileStore.writeSegment(SegmentId id,
byte[] data,
int offset,
int length) |
void |
FileStore.ReadOnlyStore.writeSegment(SegmentId id,
byte[] data,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
HttpStore.containsSegment(SegmentId id) |
Segment |
HttpStore.readSegment(SegmentId id) |
void |
HttpStore.writeSegment(SegmentId id,
byte[] bytes,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MemoryStore.containsSegment(SegmentId id) |
Segment |
MemoryStore.readSegment(SegmentId id) |
void |
MemoryStore.writeSegment(SegmentId id,
byte[] data,
int offset,
int length) |
Copyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.