public final class QuotaMetricsUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
static String | 
QUOTA_BYTES_LIMIT_PER_NAMESPACE  | 
static String | 
QUOTA_BYTES_USAGE_PER_NAMESPACE  | 
static String | 
QUOTA_COUNT_LIMIT_PER_NAMESPACE  | 
static String | 
QUOTA_COUNT_USAGE_PER_NAMESPACE  | 
static String | 
QUOTA_EXCEEDED_ERROR_PER_NAMESPACE  | 
| Modifier and Type | Method and Description | 
|---|---|
static Map<String,Number> | 
getQuotaBytesLimit(DataTree dataTree)
Traverse the quota subtree and return per namespace quota bytes limit
` 
 | 
static Map<String,Number> | 
getQuotaBytesUsage(DataTree dataTree)
Traverse the quota subtree and return per namespace quota bytes usage 
 | 
static Map<String,Number> | 
getQuotaCountLimit(DataTree dataTree)
Traverse the quota subtree and return per namespace quota count limit 
 | 
static Map<String,Number> | 
getQuotaCountUsage(DataTree dataTree)
Traverse the quota subtree and return per namespace quota count usage 
 | 
public static final String QUOTA_COUNT_LIMIT_PER_NAMESPACE
public static final String QUOTA_BYTES_LIMIT_PER_NAMESPACE
public static final String QUOTA_COUNT_USAGE_PER_NAMESPACE
public static final String QUOTA_BYTES_USAGE_PER_NAMESPACE
public static final String QUOTA_EXCEEDED_ERROR_PER_NAMESPACE
public static Map<String,Number> getQuotaCountLimit(DataTree dataTree)
dataTree - dataTree that contains the quota limit and usage datapublic static Map<String,Number> getQuotaBytesLimit(DataTree dataTree)
dataTree - dataTree that contains the quota limit and usage datapublic static Map<String,Number> getQuotaCountUsage(DataTree dataTree)
dataTree - dataTree that contains the quota limit and usage datapublic static Map<String,Number> getQuotaBytesUsage(DataTree dataTree)
dataTree - dataTree that contains the quota limit and usage dataCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.