public class RollingResourcesCache extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RollingResourcesCache.Resource |
Modifier and Type | Field and Description |
---|---|
static net.openhft.chronicle.queue.impl.RollingResourcesCache.ParseCount |
NO_PARSE_COUNT |
Constructor and Description |
---|
RollingResourcesCache(RollCycle cycle,
long epoch,
Function<String,File> nameToFile,
Function<File,String> fileToName) |
Modifier and Type | Method and Description |
---|---|
int |
parseCount(String name) |
RollingResourcesCache.Resource |
resourceFor(long cycle)
Cache some resources for a rollCycle number.
|
Long |
toLong(File file) |
public static final net.openhft.chronicle.queue.impl.RollingResourcesCache.ParseCount NO_PARSE_COUNT
@NotNull public RollingResourcesCache.Resource resourceFor(long cycle)
cycle
- the rollCycle number to formatpublic int parseCount(@NotNull String name)
Copyright © 2018. All rights reserved.