Class ResourceNameNormalizer
java.lang.Object
org.apache.storm.scheduler.resource.normalization.ResourceNameNormalizer
Provides resource name normalization for resource maps.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ResourceNameNormalizer
public ResourceNameNormalizer()Creates a new resource name normalizer.
-
-
Method Details
-
normalizedResourceMap
Normalizes a supervisor resource map or topology details map's keys to universal resource names.- Parameters:
resourceMap
- resource map of either Supervisor or Topology- Returns:
- the resource map with common resource names
-
getResourceNameMapping
-