public class LogEntryV2CodecFactory extends Object implements LogEntryCodecFactory
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
HEADER_SIZE |
static byte[] |
MAGIC_BYTES |
static byte[] |
RESERVED |
static byte |
VERSION |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 LogEntryCodecFactorypublic LogEntryDecoder decoder()
LogEntryCodecFactorydecoder 在接口中 LogEntryCodecFactoryCopyright © 2021. All rights reserved.