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(@NotNull RollCycle cycle,
long epoch,
@NotNull Function<String,File> nameToFile,
@NotNull Function<File,String> fileToName) |
| Modifier and Type | Method and Description |
|---|---|
int |
parseCount(@NotNull String name) |
@NotNull 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 @NotNull RollingResourcesCache.Resource resourceFor(long cycle)
cycle - the rollCycle number to formatpublic int parseCount(@NotNull
@NotNull String name)
Copyright © 2024. All rights reserved.