Class FileChangeCache
- java.lang.Object
-
- com.complexible.stardog.docs.nlp.utils.FileChangeCache
-
public class FileChangeCache extends java.lang.Object
Cache
forfiles
, which invalidates its elements when files are modified- Since:
- 5.2.2
- Version:
- 5.2.2
- Author:
- Pedro Oliveira
-
-
Constructor Summary
Constructors Constructor Description FileChangeCache(int theDuration, java.util.concurrent.TimeUnit theTimeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
<T> T
get(java.io.File theKey, java.util.function.Function<java.io.File,T> theFunction, java.lang.Class<T> theClass)
-