public interface JobContext
Modifier and Type | Method and Description |
---|---|
StorageManager |
ensureJobStorageManager()
Returns a storage manager for storing temporary files.
|
DistributedExecutorService |
getDistributedExecutor()
Returns an executor service for performing work within the job.
|
FileClient |
getFileClient()
Returns the file client to be used within this context
|
void |
releaseStorage(FileClient fileClient,
StoragePlanner storagePlanner)
Releases all storage for this storage manager that was allocated by the given planner.
|
DistributedExecutorService getDistributedExecutor()
StorageManager ensureJobStorageManager()
JobCallable.init(JobContext)
.void releaseStorage(FileClient fileClient, StoragePlanner storagePlanner)
fileClient
- the file clientstoragePlanner
- the storage plannerFileClient getFileClient()
Copyright © 2016 Actian Corporation. All rights reserved.