public class DynamicClusterControllerFactory extends ClusterControllerFactory
| Constructor and Description |
|---|
DynamicClusterControllerFactory() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
availableServices()
Return a collection of available
ClusterController names. |
void |
bind(ClusterController clusterController) |
ClusterController |
create(String serviceName)
Create an instance of a
ClusterController according to the given
name. |
void |
unbind(ClusterController clusterController) |
public ClusterController create(String serviceName)
ClusterController according to the given
name. If the name is null then the default ClusterController
is returned.create in class ClusterControllerFactorypublic Set<String> availableServices()
ClusterController names.availableServices in class ClusterControllerFactorypublic void bind(ClusterController clusterController)
public void unbind(ClusterController clusterController)
Copyright © 2010–2016 Cloudera. All rights reserved.