public enum ChronicleTools extends Enum<ChronicleTools>
Modifier and Type | Method and Description |
---|---|
static String |
asString(ByteBuffer bb) |
static String |
asString(ExcerptCommon excerpt)
Take a text copy of the contents of the Excerpt without changing it's position.
|
static void |
checkCount(Chronicle chronicle,
int min,
int max) |
static void |
deleteDirOnExit(String dirPath) |
static void |
deleteOnExit(String basePath)
Delete a chronicle now and on exit, for testing
|
static ClassLoader |
getSystemClassLoader() |
static void |
logIOException(org.slf4j.Logger logger,
String message,
IOException e) |
static ChronicleTools |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChronicleTools[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static void |
warmup() |
public static ChronicleTools[] values()
for (ChronicleTools c : ChronicleTools.values()) System.out.println(c);
public static ChronicleTools valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static void deleteOnExit(String basePath)
basePath
- of the chroniclepublic static void deleteDirOnExit(String dirPath)
public static void logIOException(org.slf4j.Logger logger, String message, IOException e)
public static String asString(ByteBuffer bb)
@NotNull public static String asString(@NotNull ExcerptCommon excerpt)
excerpt
- to get text frompublic static void warmup()
public static void checkCount(@NotNull Chronicle chronicle, int min, int max)
public static ClassLoader getSystemClassLoader()
Copyright © 2017. All rights reserved.