public class VanillaChronicleUtils extends Object
Modifier and Type | Field and Description |
---|---|
static FileFilter |
IS_DIR |
Constructor and Description |
---|
VanillaChronicleUtils() |
Modifier and Type | Method and Description |
---|---|
static File |
dataFileFor(int cycle,
int threadId,
int dataCount,
net.openhft.chronicle.VanillaDateCache dateCache) |
static boolean |
exists(@NotNull File path) |
static List<File> |
findLeafDirectories(File root) |
static List<File> |
findLeafDirectories(List<File> leafs,
File root) |
static File |
indexFileFor(int cycle,
int indexCount,
net.openhft.chronicle.VanillaDateCache dateCache) |
static File |
mkFiles(File cycleDir,
String name,
boolean forAppend) |
public static final FileFilter IS_DIR
public static File mkFiles(File cycleDir, String name, boolean forAppend) throws IOException
cycleDir
- name
- forAppend
- IOException
public static File indexFileFor(int cycle, int indexCount, net.openhft.chronicle.VanillaDateCache dateCache)
public static File dataFileFor(int cycle, int threadId, int dataCount, net.openhft.chronicle.VanillaDateCache dateCache)
public static boolean exists(@NotNull @NotNull File path)
Copyright © 2017. All rights reserved.