public class LogBuffer extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
protected org.agrona.concurrent.UnsafeBuffer |
metadataBuffer |
protected LogBufferPartition[] |
partitions |
protected int |
partitionSize |
protected AllocatedBuffer |
rawBuffer |
| Constructor and Description |
|---|
LogBuffer(AllocatedBuffer allocatedBuffer,
int partitionSize,
int initialPartitionId) |
| Modifier and Type | Method and Description |
|---|---|
int |
cleanPartitions() |
void |
close() |
ByteBuffer |
createRawBufferView() |
int |
getActivePartitionIdVolatile() |
int |
getDataFrameMaxLength() |
int |
getInitialPartitionId() |
LogBufferPartition |
getPartition(int id) |
int |
getPartitionCount() |
int |
getPartitionSize() |
boolean |
isClosed() |
void |
onActiveParitionFilled(int activePartitionId) |
public static final org.slf4j.Logger LOG
protected final AllocatedBuffer rawBuffer
protected final LogBufferPartition[] partitions
protected final org.agrona.concurrent.UnsafeBuffer metadataBuffer
protected final int partitionSize
public LogBuffer(AllocatedBuffer allocatedBuffer, int partitionSize, int initialPartitionId)
public LogBufferPartition getPartition(int id)
public int getActivePartitionIdVolatile()
public int getInitialPartitionId()
public int getPartitionCount()
public int getDataFrameMaxLength()
public void onActiveParitionFilled(int activePartitionId)
public int cleanPartitions()
public void close()
public boolean isClosed()
public int getPartitionSize()
public ByteBuffer createRawBufferView()
Copyright © 2017–2018 camunda services GmbH. All rights reserved.