public final class Logs extends Object
| Modifier and Type | Method and Description |
|---|---|
static LogWriter |
createLogWriter(File file,
long fileNumber,
Env env) |
static LogWriter |
createLogWriter(long fileNumber,
WritableFile writableFile,
long destinationLength) |
static int |
getChunkChecksum(int chunkTypeId,
byte[] buffer,
int offset,
int length) |
static int |
getChunkChecksum(int chunkTypeId,
Slice slice) |
public static LogWriter createLogWriter(File file, long fileNumber, Env env) throws IOException
IOExceptionpublic static LogWriter createLogWriter(long fileNumber, WritableFile writableFile, long destinationLength) throws IOException
IOExceptionpublic static int getChunkChecksum(int chunkTypeId,
Slice slice)
public static int getChunkChecksum(int chunkTypeId,
byte[] buffer,
int offset,
int length)
Copyright © 2011–2020. All rights reserved.