- java.lang.Object
-
- com.pervasive.datarush.cal.StorageManagerSpecifier
-
public class StorageManagerSpecifier extends Object
Rollup of the various parameters needed to create aStorageManager
.
-
-
Constructor Summary
Constructors Modifier Constructor Description StorageManagerSpecifier(JobSpecifier jobSpec, DistributedExecutorService service)
Create a jobInfoprotected
StorageManagerSpecifier(StorageManagerSpecifier other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GUID
getGuid()
Unique identifier, relative to the base path.DistributedExecutorService
getService()
Returns the distributed executor service for the job.Path
getWorkerStorageRoot()
Returns the base storage path for this storage manager.
-
-
-
Constructor Detail
-
StorageManagerSpecifier
public StorageManagerSpecifier(JobSpecifier jobSpec, DistributedExecutorService service)
Create a jobInfo- Parameters:
jobSpec
- the job spec.service
- the executor service.
-
StorageManagerSpecifier
protected StorageManagerSpecifier(StorageManagerSpecifier other)
-
-
Method Detail
-
getWorkerStorageRoot
public Path getWorkerStorageRoot()
Returns the base storage path for this storage manager. Must be a path for which there is aStorageManagerProvider
.- Returns:
- the base storage path
-
getGuid
public GUID getGuid()
Unique identifier, relative to the base path.- Returns:
- the guid for this storage manager
-
getService
public DistributedExecutorService getService()
Returns the distributed executor service for the job.- Returns:
- the distributed executor service
-
-