public interface ClusterStoreView extends ReadOnlyClusterStoreView
Modifier and Type | Method and Description |
---|---|
void |
deleteCluster(String clusterId)
Delete the cluster that has the given id.
|
void |
writeCluster(Cluster cluster)
Write a cluster to the store using its id.
|
clusterExists, getAllClusters, getAllClusterSummaries, getAllClusterSummaries, getCluster, getClusterJobs, getClusterNodes, getNonTerminatedClusters
void writeCluster(Cluster cluster) throws IllegalAccessException, IOException
cluster
- Cluster to write.IOException
- if there was a problem writing the cluster.IllegalAccessException
void deleteCluster(String clusterId) throws IOException
clusterId
- Id of the cluster to delete.IOException
- if there was a problem deleting the cluster.Copyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.