public class RollingResourcesCache extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RollingResourcesCache.Resource |
| Constructor and Description |
|---|
RollingResourcesCache(RollCycle cycle,
java.util.function.Function<String,File> fileFactory) |
| Modifier and Type | Method and Description |
|---|---|
long |
parseCount(String name) |
RollingResourcesCache.Resource |
resourceFor(long cycle)
Cache some resources for a rollCycle number.
|
public RollingResourcesCache(@NotNull
RollCycle cycle,
@NotNull
java.util.function.Function<String,File> fileFactory)
@NotNull public RollingResourcesCache.Resource resourceFor(long cycle)
cycle - the rollCycle number to formatpublic long parseCount(@NotNull
String name)
throws ParseException
ParseExceptionCopyright © 2016. All rights reserved.