public class DRClusterProvider extends Object implements ClusterProvider
| Constructor and Description |
|---|
DRClusterProvider() |
| Modifier and Type | Method and Description |
|---|---|
JobExecutorService |
createExecutor(FileClient fileClient,
JobSpecifier jobSpec)
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 client,
ClusterSpecifier spec)
Gives the provider an opportunity to validate the specifier
|
public static final String PROTOCOL
public boolean isProviderFor(ClusterSpecifier spec)
ClusterProviderisProviderFor in interface ClusterProviderspec - the specifierpublic JobExecutorService createExecutor(FileClient fileClient, JobSpecifier jobSpec)
ClusterProvidercreateExecutor in interface ClusterProviderfileClient - the file client to usejobSpec - the job specifierpublic String getDefaultStorageManagementPath(ClusterSpecifier spec)
ClusterProvidergetDefaultStorageManagementPath in interface ClusterProviderspec - the cluster specifierpublic void validateConnection(FileClient client, ClusterSpecifier spec)
ClusterProvidervalidateConnection in interface ClusterProviderspec - the specifierpublic JobHistoryService getJobHistoryService(FileClient client, ClusterSpecifier spec)
getJobHistoryService in interface ClusterProviderCopyright © 2015 Actian Corporation. All Rights Reserved.