public interface ClusterProvider
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.
|
JobHistoryService |
getJobHistoryService(FileClient client,
ClusterSpecifier spec) |
boolean |
isProviderFor(ClusterSpecifier spec)
Returns whether this provider is the correct provider for the given specifier.
|
void |
validateConnection(FileClient fileClient,
ClusterSpecifier spec)
Gives the provider an opportunity to validate the specifier
|
boolean isProviderFor(ClusterSpecifier spec)
spec
- the specifiervoid validateConnection(FileClient fileClient, ClusterSpecifier spec)
spec
- the specifierString getDefaultStorageManagementPath(ClusterSpecifier spec)
spec
- the cluster specifierJobExecutorService createExecutor(FileClient fileClient, JobSpecifier spec)
fileClient
- the file client to usespec
- the job specifierJobHistoryService getJobHistoryService(FileClient client, ClusterSpecifier spec)
Copyright © 2016 Actian Corporation. All rights reserved.