public class ResourceNameNormalizer extends Object
Provides resource name normalization for resource maps.
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()
Creates a new resource name normalizer.
public Map<String,Double> normalizedResourceMap(Map<String,? extends Number> resourceMap)
Normalizes a supervisor resource map or topology details map’s keys to universal resource names.
resourceMap
- resource map of either Supervisor or TopologyCopyright © 2022 The Apache Software Foundation. All rights reserved.