public abstract class AbstractFileStore extends Object implements SegmentStore, Closeable
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.oak.spi.blob.BlobStore |
getBlobStore() |
SegmentNodeState |
getHead()
Convenience method for accessing the root node for the current head.
|
SegmentReader |
getReader() |
abstract Revisions |
getRevisions() |
org.apache.jackrabbit.oak.api.jmx.CacheStatsMBean |
getSegmentCacheStats() |
org.apache.jackrabbit.oak.api.jmx.CacheStatsMBean |
getStringCacheStats() |
org.apache.jackrabbit.oak.api.jmx.CacheStatsMBean |
getTemplateCacheStats() |
SegmentTracker |
getTracker() |
abstract SegmentWriter |
getWriter() |
SegmentId |
newBulkSegmentId()
Create a new
SegmentId for a segment of type "bulk". |
SegmentId |
newDataSegmentId()
Create a new
SegmentId for a segment of type "data". |
SegmentId |
newSegmentId(long msb,
long lsb)
Create a
SegmentId represented by the given MSB/LSB pair. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsSegment, readSegment, writeSegment@Nonnull public org.apache.jackrabbit.oak.api.jmx.CacheStatsMBean getSegmentCacheStats()
@Nonnull public org.apache.jackrabbit.oak.api.jmx.CacheStatsMBean getStringCacheStats()
@Nonnull public org.apache.jackrabbit.oak.api.jmx.CacheStatsMBean getTemplateCacheStats()
@Nonnull public SegmentTracker getTracker()
@Nonnull public abstract SegmentWriter getWriter()
@Nonnull public SegmentReader getReader()
public abstract Revisions getRevisions()
Revisions object bound to the current store.@Nonnull public SegmentNodeState getHead()
fileStore.getReader().readHeadState(fileStore.getRevisions())
@Nonnull public SegmentId newSegmentId(long msb, long lsb)
SegmentStoreSegmentId represented by the given MSB/LSB pair.newSegmentId in interface SegmentStoremsb - The most significant bits of the SegmentId.lsb - The least significant bits of the SegmentId.null instance of SegmentId.@Nonnull public SegmentId newBulkSegmentId()
SegmentStoreSegmentId for a segment of type "bulk".newBulkSegmentId in interface SegmentStorenull instance of SegmentId.@Nonnull public SegmentId newDataSegmentId()
SegmentStoreSegmentId for a segment of type "data".newDataSegmentId in interface SegmentStorenull instance of SegmentId.@CheckForNull public org.apache.jackrabbit.oak.spi.blob.BlobStore getBlobStore()
null otherwise.Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.