public interface SegmentedRaftLogFormat
| Modifier and Type | Interface and Description |
|---|---|
static class |
SegmentedRaftLogFormat.Internal |
| Modifier and Type | Method and Description |
|---|---|
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–2023 The Apache Software Foundation. All rights reserved.