public class ResourceNameNormalizer extends Object
Constructor and Description |
---|
ResourceNameNormalizer()
Creates a new resource name normalizer.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getResourceNameMapping() |
Map<String,Double> |
normalizedResourceMap(Map<String,? extends Number> resourceMap)
Normalizes a supervisor resource map or topology details map's keys to universal resource names.
|
public ResourceNameNormalizer()
public Map<String,Double> normalizedResourceMap(Map<String,? extends Number> resourceMap)
resourceMap
- resource map of either Supervisor or TopologyCopyright © 2023 The Apache Software Foundation. All rights reserved.