@FunctionalInterface public interface BatchFileCacheRepository
FileCacheRepository
.Modifier and Type | Method and Description |
---|---|
Map<org.apache.hadoop.fs.Path,org.apache.hadoop.fs.Path> |
resolve(List<? extends org.apache.hadoop.fs.Path> files)
Put files into remote cache and returns a mapping original files into cached path.
|
Map<org.apache.hadoop.fs.Path,org.apache.hadoop.fs.Path> resolve(List<? extends org.apache.hadoop.fs.Path> files) throws IOException, InterruptedException
files
- the target file pathsnull
if this cannot prepare cache for the corresponding original fileIOException
- if failed to put the file into cacheInterruptedException
- if interrupted while resolving cache fileCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.