public class LogEntryV2CodecFactory extends Object implements LogEntryCodecFactory
| Modifier and Type | Field and Description |
|---|---|
static int |
HEADER_SIZE |
static byte[] |
MAGIC_BYTES |
static byte[] |
RESERVED |
static byte |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
LogEntryDecoder |
decoder()
Returns a log entry decoder.
|
LogEntryEncoder |
encoder()
Returns a log entry encoder.
|
static LogEntryV2CodecFactory |
getInstance() |
public static final byte[] MAGIC_BYTES
public static final byte VERSION
public static final byte[] RESERVED
public static final int HEADER_SIZE
public static LogEntryV2CodecFactory getInstance()
public LogEntryEncoder encoder()
LogEntryCodecFactoryencoder in interface LogEntryCodecFactorypublic LogEntryDecoder decoder()
LogEntryCodecFactorydecoder in interface LogEntryCodecFactoryCopyright © 2024. All rights reserved.