@Singleton public class RemoteAmbariClusterRegistry extends Object
Constructor and Description |
---|
RemoteAmbariClusterRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
delete(RemoteAmbariClusterEntity entity)
Remove the cluster entity from registry and database
|
RemoteAmbariCluster |
get(Long clusterId) |
void |
saveOrUpdate(RemoteAmbariClusterEntity entity,
boolean update)
Save Remote Cluster Entity after setting services.
|
void |
update(RemoteAmbariClusterEntity entity)
Update the remote cluster properties
|
public RemoteAmbariCluster get(Long clusterId) throws MalformedURLException, ClusterNotFoundException
public void update(RemoteAmbariClusterEntity entity)
entity
- public void delete(RemoteAmbariClusterEntity entity)
entity
- public void saveOrUpdate(RemoteAmbariClusterEntity entity, boolean update) throws IOException, org.apache.ambari.view.AmbariHttpException
entity
- update
- IOException
org.apache.ambari.view.AmbariHttpException
Copyright © 2022 Apache Software Foundation. All rights reserved.