public class VanillaDataCache extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
static String |
FILE_NAME_PREFIX |
Modifier and Type | Method and Description |
---|---|
void |
checkCounts(int min,
int max) |
void |
close() |
net.openhft.lang.io.VanillaMappedBytes |
dataFor(int cycle,
int threadId,
int dataCount,
boolean forWrite) |
File |
fileFor(int cycle,
int threadId) |
int |
findNextDataCount(int cycle,
int threadId)
Find the count for the next data file to be written for a specific thread.
|
public static final String FILE_NAME_PREFIX
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public net.openhft.lang.io.VanillaMappedBytes dataFor(int cycle, int threadId, int dataCount, boolean forWrite) throws IOException
IOException
public File fileFor(int cycle, int threadId)
public int findNextDataCount(int cycle, int threadId)
public void checkCounts(int min, int max)
Copyright © 2017. All rights reserved.