@FunctionalInterface public interface FileCacheRepository
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.
|
org.apache.hadoop.fs.Path resolve(org.apache.hadoop.fs.Path file) throws IOException, InterruptedException
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.