Package | Description |
---|---|
org.apache.jackrabbit.oak.segment | |
org.apache.jackrabbit.oak.segment.file | |
org.apache.jackrabbit.oak.segment.memory |
Modifier and Type | Field and Description |
---|---|
static SegmentStore |
SegmentStore.EMPTY_STORE
A store that is always empty and that cannot be written to.
|
Modifier and Type | Method and Description |
---|---|
SegmentStore |
SegmentStoreProvider.getSegmentStore() |
Modifier and Type | Method and Description |
---|---|
void |
SegmentBufferWriter.flush(@NotNull SegmentStore store)
Adds a segment header to the buffer and writes a segment to the segment
store.
|
void |
SegmentBufferWriterPool.flush(@NotNull SegmentStore store) |
static @Nullable RecordId |
SegmentStream.getRecordIdIfAvailable(InputStream stream,
SegmentStore store) |
RecordId |
SegmentBufferWriter.prepare(RecordType type,
int size,
Collection<RecordId> ids,
SegmentStore store)
Before writing a record (which are written backwards, from the end of the
file to the beginning), this method is called, to ensure there is enough
space.
|
boolean |
SegmentId.sameStore(@NotNull SegmentStore store)
Determine whether this instance belongs to the passed
store |
Constructor and Description |
---|
DefaultSegmentWriter(@NotNull SegmentStore store,
@NotNull SegmentReader reader,
@NotNull SegmentIdProvider idProvider,
@Nullable org.apache.jackrabbit.oak.spi.blob.BlobStore blobStore,
@NotNull WriterCacheManager cacheManager,
@NotNull org.apache.jackrabbit.oak.segment.WriteOperationHandler writeOperationHandler)
Create a new instance of a
SegmentWriter . |
SegmentId(@NotNull SegmentStore store,
long msb,
long lsb)
Create a new segment id without access tracking.
|
SegmentId(@NotNull SegmentStore store,
long msb,
long lsb,
@NotNull Runnable onAccess)
Create a new segment id with access tracking.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFileStore
The storage implementation for tar files.
|
class |
FileStore
The storage implementation for tar files.
|
class |
ReadOnlyFileStore
A read only
AbstractFileStore implementation that supports going back
to old revisions. |
Modifier and Type | Class and Description |
---|---|
class |
MemoryStore
A store used for in-memory operations.
|
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.