com.cloudera.api.model
Class ApiLicensedFeatureUsage
java.lang.Object
com.cloudera.api.model.ApiLicensedFeatureUsage
public class ApiLicensedFeatureUsage
- extends Object
Information about the number of nodes using which product features.
Usage information is provided for individual clusters, as well as totals
across all clusters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApiLicensedFeatureUsage
public ApiLicensedFeatureUsage()
ApiLicensedFeatureUsage
public ApiLicensedFeatureUsage(Map<String,Integer> totals,
Map<String,Map<String,Integer>> byCluster)
getTotals
public Map<String,Integer> getTotals()
- Map from named features to the total number of nodes using those features.
setTotals
public void setTotals(Map<String,Integer> totals)
getClusters
public Map<String,Map<String,Integer>> getClusters()
- Map from clusters to maps of named features to the number of nodes in the
cluster using those features.
setCluster
public void setCluster(Map<String,Map<String,Integer>> byCluster)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.