public class BatchAppenderNative extends Object implements BatchAppender
Constructor and Description |
---|
BatchAppenderNative() |
Modifier and Type | Method and Description |
---|---|
long |
writeMessages(long rawAddress,
long rawMaxBytes,
int rawMaxMessages) |
public long writeMessages(long rawAddress, long rawMaxBytes, int rawMaxMessages)
writeMessages
in interface BatchAppender
rawAddress
- the address of where to start to write a batch of messages to the off heap memory.rawMaxBytes
- the maximum number of bytes that can be written directly to the off heap memoryrawMaxMessages
- the maximum number of messages that can be written directly to the off heap memory( count << 32) | length
Copyright © 2020. All rights reserved.