public class LogBufferPartition extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.agrona.concurrent.UnsafeBuffer |
dataBuffer
buffer containing the data section for the page
|
protected org.agrona.concurrent.UnsafeBuffer |
metadataBuffer
buffer containing the metadata section for the page
|
protected int |
partitionSize
The size of the partition
|
protected int |
rawBufferOffset
the offset of the partition's data buffer in the underlying buffer (see
#underlyingBuffer. |
| Constructor and Description |
|---|
LogBufferPartition(org.agrona.concurrent.UnsafeBuffer dataBuffer,
org.agrona.concurrent.UnsafeBuffer metadataBuffer,
int rawBufferOffset) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
int |
getAndAddTail(int frameLength) |
org.agrona.concurrent.UnsafeBuffer |
getDataBuffer() |
int |
getPartitionSize() |
int |
getStatusVolatile() |
int |
getTailCounterVolatile() |
int |
getUnderlyingBufferOffset() |
boolean |
needsCleaning() |
void |
setStatusOrdered(int status) |
protected final int partitionSize
protected final org.agrona.concurrent.UnsafeBuffer dataBuffer
protected final org.agrona.concurrent.UnsafeBuffer metadataBuffer
protected final int rawBufferOffset
#underlyingBuffer.public LogBufferPartition(org.agrona.concurrent.UnsafeBuffer dataBuffer,
org.agrona.concurrent.UnsafeBuffer metadataBuffer,
int rawBufferOffset)
public void clean()
public org.agrona.concurrent.UnsafeBuffer getDataBuffer()
public int getTailCounterVolatile()
public int getAndAddTail(int frameLength)
public int getPartitionSize()
public void setStatusOrdered(int status)
public int getStatusVolatile()
public boolean needsCleaning()
public int getUnderlyingBufferOffset()
Copyright © 2017–2018 camunda services GmbH. All rights reserved.