public class NullFileCacheRepository extends Object implements FileCacheRepository
FileCacheRepository
.
This implementation does not create any cache files, always returns original file path.Constructor and Description |
---|
NullFileCacheRepository() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.fs.Path |
resolve(org.apache.hadoop.fs.Path file)
Put a file into remote cache and returns the cached path.
|
public org.apache.hadoop.fs.Path resolve(org.apache.hadoop.fs.Path file) throws IOException, InterruptedException
FileCacheRepository
resolve
in interface FileCacheRepository
file
- the target file pathnull
path if this does not support the target fileIOException
- if failed to put the file into cacheInterruptedException
- if interrupted while resolving cache fileCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.