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 ClasspathCacheManager
public ClasspathSpecifier resolve(JobInformation jobInfo, WorkerRole role, JobClasspathConfig cp)
public Path createSpoolFile(FileClient client, Path parentDir) throws IOException
IOException
public OutputStream addToCache(CacheScope scope, ClasspathKey key) throws IOException
addToCache
in interface ClasspathCacheManager
IOException
Copyright © 2015 Actian Corporation. All Rights Reserved.