public final class ClasspathCacheManagerImpl extends Object implements ClasspathCacheManager
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClasspathCacheManagerImpl.CacheStorageConfiguration |
static class |
ClasspathCacheManagerImpl.FileSystemCacheStorage |
| Constructor and Description |
|---|
ClasspathCacheManagerImpl(FileClient fileClient,
ClasspathCacheManagerImpl.CacheStorageConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
addToCache(CacheScope scope,
ClasspathKey key) |
Path |
createSpoolFile(FileClient client,
Path parentDir) |
Set<ClasspathKey> |
notInNodeCache(Set<ClasspathKey> elements) |
ClasspathSpecifier |
resolve(JobInformation jobInfo,
WorkerRole role,
JobClasspathConfig cp) |
public ClasspathCacheManagerImpl(FileClient fileClient, ClasspathCacheManagerImpl.CacheStorageConfiguration config)
public Set<ClasspathKey> notInNodeCache(Set<ClasspathKey> elements)
notInNodeCache in interface ClasspathCacheManagerpublic ClasspathSpecifier resolve(JobInformation jobInfo, WorkerRole role, JobClasspathConfig cp)
public Path createSpoolFile(FileClient client, Path parentDir) throws IOException
IOExceptionpublic OutputStream addToCache(CacheScope scope, ClasspathKey key) throws IOException
addToCache in interface ClasspathCacheManagerIOExceptionCopyright © 2015 Actian Corporation. All Rights Reserved.