Uses of Class
org.apache.jackrabbit.oak.commons.Buffer
-
-
Uses of Buffer in org.apache.jackrabbit.oak.commons
Methods in org.apache.jackrabbit.oak.commons that return Buffer Modifier and Type Method Description static Buffer
Buffer. allocate(int cap)
static Buffer
Buffer. allocateDirect(int cap)
Buffer
Buffer. asReadOnlyBuffer()
Buffer
Buffer. duplicate()
Buffer
Buffer. flip()
Buffer
Buffer. get(byte[] b)
Buffer
Buffer. get(byte[] b, int pos, int len)
Buffer
Buffer. limit(int lim)
static Buffer
Buffer. map(java.nio.channels.FileChannel channel, java.nio.channels.FileChannel.MapMode mode, long position, long size)
Buffer
Buffer. mark()
Buffer
Buffer. position(int pos)
Buffer
Buffer. put(byte b)
Buffer
Buffer. put(byte[] b)
Buffer
Buffer. put(byte[] buf, int pos, int len)
Buffer
Buffer. put(Buffer b)
Buffer
Buffer. putInt(int i)
Buffer
Buffer. putLong(long l)
Buffer
Buffer. reset()
Buffer
Buffer. rewind()
Buffer
Buffer. slice()
static Buffer
Buffer. wrap(byte[] buffer)
static Buffer
Buffer. wrap(byte[] buffer, int pos, int len)
Methods in org.apache.jackrabbit.oak.commons with parameters of type Buffer Modifier and Type Method Description Buffer
Buffer. put(Buffer b)
-
Uses of Buffer in org.apache.jackrabbit.oak.segment
Methods in org.apache.jackrabbit.oak.segment that return Buffer Modifier and Type Method Description Buffer
SegmentNodeState. getStableIdBytes()
Returns the stable ID of this node, non parsed.Methods in org.apache.jackrabbit.oak.segment with parameters of type Buffer Modifier and Type Method Description void
SegmentBufferMonitor. trackAllocation(@NotNull Buffer buffer)
Track the allocation of abuffer
and update the exposed statistics.@NotNull RecordId
DefaultSegmentWriter. writeNode(@NotNull NodeState state, @Nullable Buffer stableIdBytes)
@NotNull RecordId
SegmentWriter. writeNode(@NotNull NodeState state, @Nullable Buffer stableIdBytes)
Write a node state.protected @Nullable CompactedNodeState
ClassicCompactor. writeNodeState(@NotNull NodeState nodeState, @Nullable Buffer stableIdBytes, boolean complete)
Constructors in org.apache.jackrabbit.oak.segment with parameters of type Buffer Constructor Description Segment(@NotNull SegmentIdProvider idProvider, @NotNull SegmentReader reader, @NotNull SegmentId id, @NotNull Buffer data)
-
Uses of Buffer in org.apache.jackrabbit.oak.segment.aws
Methods in org.apache.jackrabbit.oak.segment.aws that return Buffer Modifier and Type Method Description protected Buffer
AwsSegmentArchiveWriter. doReadArchiveEntry(RemoteSegmentArchiveEntry indexEntry)
protected Buffer
AwsSegmentArchiveReader. doReadDataFile(java.lang.String extension)
Buffer
S3Directory. readObjectToBuffer(java.lang.String name, boolean offHeap)
Methods in org.apache.jackrabbit.oak.segment.aws with parameters of type Buffer Modifier and Type Method Description protected void
AwsSegmentArchiveReader. doReadSegmentToBuffer(java.lang.String segmentFileName, Buffer buffer)
void
S3Directory. readObjectToBuffer(java.lang.String name, Buffer buffer)
-
Uses of Buffer in org.apache.jackrabbit.oak.segment.aws.tool
Methods in org.apache.jackrabbit.oak.segment.aws.tool with parameters of type Buffer Modifier and Type Method Description static byte[]
AwsToolUtils. fetchByteArray(Buffer buffer)
-
Uses of Buffer in org.apache.jackrabbit.oak.segment.azure
Methods in org.apache.jackrabbit.oak.segment.azure that return Buffer Modifier and Type Method Description protected Buffer
AzureSegmentArchiveWriter. doReadArchiveEntry(RemoteSegmentArchiveEntry indexEntry)
protected Buffer
AzureSegmentArchiveReader. doReadDataFile(java.lang.String extension)
Methods in org.apache.jackrabbit.oak.segment.azure with parameters of type Buffer Modifier and Type Method Description protected void
AzureSegmentArchiveReader. doReadSegmentToBuffer(java.lang.String segmentFileName, Buffer buffer)
static void
AzureUtilities. readBufferFully(com.microsoft.azure.storage.blob.CloudBlob blob, Buffer buffer)
-
Uses of Buffer in org.apache.jackrabbit.oak.segment.azure.tool
Methods in org.apache.jackrabbit.oak.segment.azure.tool with parameters of type Buffer Modifier and Type Method Description static byte[]
ToolUtils. fetchByteArray(Buffer buffer)
-
Uses of Buffer in org.apache.jackrabbit.oak.segment.data
Methods in org.apache.jackrabbit.oak.segment.data that return Buffer Modifier and Type Method Description Buffer
SegmentData. readBytes(int recordReferenceOffset, int size)
Methods in org.apache.jackrabbit.oak.segment.data with parameters of type Buffer Modifier and Type Method Description static SegmentData
SegmentData. newRawSegmentData(Buffer buffer)
static SegmentData
SegmentData. newSegmentData(Buffer buffer)
-
Uses of Buffer in org.apache.jackrabbit.oak.segment.file
Methods in org.apache.jackrabbit.oak.segment.file with parameters of type Buffer Modifier and Type Method Description @NotNull org.apache.jackrabbit.oak.segment.file.CompactedNodeState.FullyCompactedNodeState
CompactionWriter. writeFullyCompactedNode(@NotNull NodeState nodeState, @Nullable Buffer stableId)
@Nullable org.apache.jackrabbit.oak.segment.file.CompactedNodeState.PartiallyCompactedNodeState
CompactionWriter. writePartiallyCompactedNode(@NotNull NodeState nodeState, @Nullable Buffer stableId)
-
Uses of Buffer in org.apache.jackrabbit.oak.segment.file.tar
Methods in org.apache.jackrabbit.oak.segment.file.tar that return Buffer Modifier and Type Method Description Buffer
SegmentTarReader. getBinaryReferences()
Buffer
SegmentTarReader. getGraph()
static Buffer
GraphLoader. loadGraph(ReaderAtEnd readerAtEnd)
Loads the optional pre-compiled graph entry from the given tar file.Buffer
SegmentTarReader. readSegment(long msb, long lsb)
Buffer
SegmentTarWriter. readSegment(long msb, long lsb)
Buffer
TarFiles. readSegment(long msb, long lsb)
Methods in org.apache.jackrabbit.oak.segment.file.tar with parameters of type Buffer Modifier and Type Method Description static java.util.Map<java.util.UUID,java.util.List<java.util.UUID>>
GraphLoader. parseGraph(Buffer buffer)
-
Uses of Buffer in org.apache.jackrabbit.oak.segment.file.tar.binaries
Methods in org.apache.jackrabbit.oak.segment.file.tar.binaries that return Buffer Modifier and Type Method Description static Buffer
BinaryReferencesIndexLoader. loadBinaryReferencesIndex(ReaderAtEnd reader)
Load and validate a binary references index.Methods in org.apache.jackrabbit.oak.segment.file.tar.binaries with parameters of type Buffer Modifier and Type Method Description static BinaryReferencesIndex
BinaryReferencesIndexLoader. parseBinaryReferencesIndex(Buffer buffer)
-
Uses of Buffer in org.apache.jackrabbit.oak.segment.remote
Methods in org.apache.jackrabbit.oak.segment.remote that return Buffer Modifier and Type Method Description protected abstract Buffer
AbstractRemoteSegmentArchiveWriter. doReadArchiveEntry(RemoteSegmentArchiveEntry indexEntry)
Reads a segment from remote storage into a buffer.protected abstract Buffer
AbstractRemoteSegmentArchiveReader. doReadDataFile(java.lang.String extension)
Reads a data file inside the archive.Buffer
AbstractRemoteSegmentArchiveReader. getBinaryReferences()
Buffer
AbstractRemoteSegmentArchiveReader. getGraph()
Buffer
AbstractRemoteSegmentArchiveReader. readSegment(long msb, long lsb)
Buffer
AbstractRemoteSegmentArchiveWriter. readSegment(long msb, long lsb)
Methods in org.apache.jackrabbit.oak.segment.remote with parameters of type Buffer Modifier and Type Method Description protected abstract void
AbstractRemoteSegmentArchiveReader. doReadSegmentToBuffer(java.lang.String segmentFileName, Buffer buffer)
Reads the segment from the remote storage. -
Uses of Buffer in org.apache.jackrabbit.oak.segment.remote.persistentcache
Methods in org.apache.jackrabbit.oak.segment.remote.persistentcache that return Buffer Modifier and Type Method Description protected Buffer
PersistentDiskCache. readSegmentInternal(long msb, long lsb)
protected Buffer
PersistentRedisCache. readSegmentInternal(long msb, long lsb)
Methods in org.apache.jackrabbit.oak.segment.remote.persistentcache with parameters of type Buffer Modifier and Type Method Description void
PersistentDiskCache. writeSegment(long msb, long lsb, Buffer buffer)
void
PersistentRedisCache. writeSegment(long msb, long lsb, Buffer buffer)
-
Uses of Buffer in org.apache.jackrabbit.oak.segment.remote.queue
Methods in org.apache.jackrabbit.oak.segment.remote.queue that return Buffer Modifier and Type Method Description Buffer
SegmentWriteAction. toBuffer()
-
Uses of Buffer in org.apache.jackrabbit.oak.segment.spi.persistence
Methods in org.apache.jackrabbit.oak.segment.spi.persistence that return Buffer Modifier and Type Method Description @NotNull Buffer
SegmentArchiveReader. getBinaryReferences()
Load binary references.@Nullable Buffer
SegmentArchiveReader. getGraph()
Load the segment graph.@Nullable Buffer
SegmentArchiveReader. readSegment(long msb, long lsb)
Read the segment.@Nullable Buffer
SegmentArchiveWriter. readSegment(long msb, long lsb)
Read the segment. -
Uses of Buffer in org.apache.jackrabbit.oak.segment.spi.persistence.persistentcache
Methods in org.apache.jackrabbit.oak.segment.spi.persistence.persistentcache that return Buffer Modifier and Type Method Description @NotNull Buffer
CachingSegmentArchiveReader. getBinaryReferences()
@Nullable Buffer
CachingSegmentArchiveReader. getGraph()
Buffer
AbstractPersistentCache. readSegment(long msb, long lsb, @NotNull java.util.concurrent.Callable<Buffer> loader)
@Nullable Buffer
CachingSegmentArchiveReader. readSegment(long msb, long lsb)
@Nullable Buffer
PersistentCache. readSegment(long msb, long lsb, @NotNull java.util.concurrent.Callable<Buffer> loader)
Reads the segment from cache.protected abstract Buffer
AbstractPersistentCache. readSegmentInternal(long msb, long lsb)
Reads the segment from the cache.Methods in org.apache.jackrabbit.oak.segment.spi.persistence.persistentcache with parameters of type Buffer Modifier and Type Method Description void
PersistentCache. writeSegment(long msb, long lsb, Buffer buffer)
Writes the segment to the cache.Method parameters in org.apache.jackrabbit.oak.segment.spi.persistence.persistentcache with type arguments of type Buffer Modifier and Type Method Description Buffer
AbstractPersistentCache. readSegment(long msb, long lsb, @NotNull java.util.concurrent.Callable<Buffer> loader)
@Nullable Buffer
PersistentCache. readSegment(long msb, long lsb, @NotNull java.util.concurrent.Callable<Buffer> loader)
Reads the segment from cache. -
Uses of Buffer in org.apache.jackrabbit.oak.segment.util
Methods in org.apache.jackrabbit.oak.segment.util that return Buffer Modifier and Type Method Description Buffer
ReaderAtEnd. readAtEnd(int whence, int amount)
Readamount
bytes from the underlying data source, starting atwhence
bytes from the end of the data source.
-