Uses of Enum Class
org.apache.hadoop.yarn.api.protocolrecords.ResourceTypes
Packages that use ResourceTypes
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of ResourceTypes in org.apache.hadoop.yarn.api.protocolrecords
Methods in org.apache.hadoop.yarn.api.protocolrecords that return ResourceTypesModifier and TypeMethodDescriptionstatic ResourceTypesReturns the enum constant of this class with the specified name.static ResourceTypes[]ResourceTypes.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ResourceTypes in org.apache.hadoop.yarn.api.records
Methods in org.apache.hadoop.yarn.api.records that return ResourceTypesModifier and TypeMethodDescriptionResourceInformation.getResourceType()Get the resource type.abstract ResourceTypesResourceTypeInfo.getResourceType()Get the resource type.Methods in org.apache.hadoop.yarn.api.records with parameters of type ResourceTypesModifier and TypeMethodDescriptionstatic ResourceInformationResourceInformation.newInstance(String name, String units, long value, ResourceTypes type, long minimumAllocation, long maximumAllocation) static ResourceInformationResourceInformation.newInstance(String name, String units, long value, ResourceTypes type, long minimumAllocation, long maximumAllocation, Set<String> tags, Map<String, String> attributes) static ResourceInformationResourceInformation.newInstance(String name, String units, ResourceTypes resourceType) static ResourceTypeInfoResourceTypeInfo.newInstance(String name, String units, ResourceTypes type) Create a new instance of ResourceTypeInfo from name, units and type.voidResourceInformation.setResourceType(ResourceTypes type) Set the resource type.abstract voidResourceTypeInfo.setResourceType(ResourceTypes type) Set the resource type.