Package org.gorpipe.gor.clients
Class NoCacheFileCacheClient
java.lang.Object
org.gorpipe.gor.clients.LocalFileCacheClient
org.gorpipe.gor.clients.NoCacheFileCacheClient
- All Implemented Interfaces:
java.lang.AutoCloseable,org.gorpipe.client.FileCache
public class NoCacheFileCacheClient extends LocalFileCacheClient
Stub implememntation of FileCache, that doesn't do any caching - for running with caching disabled.
-
Constructor Summary
Constructors Constructor Description NoCacheFileCacheClient(java.nio.file.Path rootPath) -
Method Summary
Modifier and Type Method Description java.lang.StringlookupFile(java.lang.String fingerprint)Methods inherited from class org.gorpipe.gor.clients.LocalFileCacheClient
close, multiLookup, store, storeSibling, storeWithSpecificCacheFilename, tempLocation
-
Constructor Details
-
NoCacheFileCacheClient
public NoCacheFileCacheClient(java.nio.file.Path rootPath)
-
-
Method Details
-
lookupFile
public java.lang.String lookupFile(java.lang.String fingerprint)- Specified by:
lookupFilein interfaceorg.gorpipe.client.FileCache- Overrides:
lookupFilein classLocalFileCacheClient
-