public class LogBufferAppender extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
RESULT_END_OF_PARTITION |
static int |
RESULT_PADDING_AT_END_OF_PARTITION |
| Constructor and Description |
|---|
LogBufferAppender() |
| Modifier and Type | Method and Description |
|---|---|
int |
appendFrame(LogBufferPartition partition,
int activePartitionId,
org.agrona.DirectBuffer msg,
int start,
int length,
int streamId) |
int |
claim(LogBufferPartition partition,
int activePartitionId,
ClaimedFragmentBatch batch,
int fragmentCount,
int batchLength,
Runnable onComplete) |
int |
claim(LogBufferPartition partition,
int activePartitionId,
ClaimedFragment claim,
int length,
int streamId,
Runnable onComplete) |
protected int |
onEndOfPartition(LogBufferPartition partition,
int partitionOffset) |
public static final int RESULT_PADDING_AT_END_OF_PARTITION
public static final int RESULT_END_OF_PARTITION
public int appendFrame(LogBufferPartition partition, int activePartitionId, org.agrona.DirectBuffer msg, int start, int length, int streamId)
public int claim(LogBufferPartition partition, int activePartitionId, ClaimedFragment claim, int length, int streamId, Runnable onComplete)
public int claim(LogBufferPartition partition, int activePartitionId, ClaimedFragmentBatch batch, int fragmentCount, int batchLength, Runnable onComplete)
protected int onEndOfPartition(LogBufferPartition partition, int partitionOffset)
Copyright © 2017–2018 camunda services GmbH. All rights reserved.