public interface SegmentedRaftLogFormat
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
SegmentedRaftLogFormat.Internal |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
applyHeaderTo(CheckedFunction<byte[],T,IOException> function) |
static int |
getHeaderLength() |
static byte |
getTerminator() |
static int |
indexOfNonTerminator(byte[] bytes,
int offset,
int length) |
static boolean |
isTerminator(byte b) |
static boolean |
isTerminator(byte[] bytes,
int offset,
int length) |
static int |
matchHeader(byte[] bytes,
int offset,
int length) |
static int getHeaderLength()
static int matchHeader(byte[] bytes,
int offset,
int length)
static <T> T applyHeaderTo(CheckedFunction<byte[],T,IOException> function) throws IOException
IOExceptionstatic byte getTerminator()
static boolean isTerminator(byte b)
static boolean isTerminator(byte[] bytes,
int offset,
int length)
static int indexOfNonTerminator(byte[] bytes,
int offset,
int length)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.