java.lang.Object
com.pervasive.datarush.cal.ClusterProviderManager
Facade to lookup providers from META-INF/services.
-
Method Summary
Modifier and TypeMethodDescriptioncreateExecutor(FileClient fileClient, JobSpecifier spec) Create a new job executor service.Returns the default root path for this cluster provider.static ClusterProviderManagerReturns the single instance of this classgetJobHistoryService(FileClient client, ClusterSpecifier spec) getProvider(ClusterSpecifier spec) Returns a provider that matches the given specvoidvalidateConnection(FileClient client, ClusterSpecifier spec) Performs validation of the specifier
-
Method Details
-
getInstance
Returns the single instance of this class- Returns:
- the instance
-
getProvider
Returns a provider that matches the given spec- Parameters:
spec- the cluster specifier- Returns:
- a matching cluster provider
-
validateConnection
Performs validation of the specifier- Parameters:
specifier-
-
getDefaultStorageManagementPath
Returns the default root path for this cluster provider. For example, within the DR cluster, the default path is drfs://clustermanager:port.- Parameters:
spec- the cluster specifier- Returns:
- the default root path
-
getJobHistoryService
-
createExecutor
Create a new job executor service.- Parameters:
fileClient- the file client to usespec- the job specifier- Returns:
- a new job executor service
-