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)
ClusterProvider
isProviderFor
in interface ClusterProvider
spec
- the specifierpublic JobExecutorService createExecutor(FileClient fileClient, JobSpecifier jobSpec)
ClusterProvider
createExecutor
in interface ClusterProvider
fileClient
- the file client to usejobSpec
- the job specifierpublic String getDefaultStorageManagementPath(ClusterSpecifier spec)
ClusterProvider
getDefaultStorageManagementPath
in interface ClusterProvider
spec
- the cluster specifierpublic void validateConnection(FileClient client, ClusterSpecifier spec)
ClusterProvider
validateConnection
in interface ClusterProvider
spec
- the specifierpublic JobHistoryService getJobHistoryService(FileClient client, ClusterSpecifier spec)
getJobHistoryService
in interface ClusterProvider
Copyright © 2015 Actian Corporation. All Rights Reserved.