public final class ClusterProviderManager extends Object
Modifier and Type | Method and Description |
---|---|
JobExecutorService |
createExecutor(FileClient fileClient,
JobSpecifier spec)
Create a new job executor service.
|
String |
getDefaultStorageManagementPath(ClusterSpecifier spec)
Returns the default root path for this cluster provider.
|
static ClusterProviderManager |
getInstance()
Returns the single instance of this class
|
JobHistoryService |
getJobHistoryService(FileClient client,
ClusterSpecifier spec) |
ClusterProvider |
getProvider(ClusterSpecifier spec)
Returns a provider that matches the given spec
|
void |
validateConnection(FileClient client,
ClusterSpecifier spec)
Performs validation of the specifier
|
public static ClusterProviderManager getInstance()
public ClusterProvider getProvider(ClusterSpecifier spec)
spec
- the cluster specifierpublic void validateConnection(FileClient client, ClusterSpecifier spec)
specifier
- public String getDefaultStorageManagementPath(ClusterSpecifier spec)
spec
- the cluster specifierpublic JobHistoryService getJobHistoryService(FileClient client, ClusterSpecifier spec)
public JobExecutorService createExecutor(FileClient fileClient, JobSpecifier spec)
fileClient
- the file client to usespec
- the job specifierCopyright © 2021 Actian Corporation. All rights reserved.