Class TargetApplicationsNamespace.AppTag
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TargetApplicationsNamespace
org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TargetApplicationsNamespace.AppTag
- All Implemented Interfaces:
Evaluable<TargetApplications>
- Enclosing class:
- TargetApplicationsNamespace
Namespace to applications that attached with a certain application tag.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TargetApplicationsNamespace
TargetApplicationsNamespace.All, TargetApplicationsNamespace.AppID, TargetApplicationsNamespace.AppTag, TargetApplicationsNamespace.NotSelf, TargetApplicationsNamespace.Self -
Field Summary
Fields inherited from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TargetApplicationsNamespace
NAMESPACE_DELIMITER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate(TargetApplications target) Evaluate the namespace against given target applications if it is necessary.toString()Methods inherited from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TargetApplicationsNamespace
getNamespaceScope, getNamespaceType, parse, setScopeIfNotNull
-
Constructor Details
-
AppTag
-
-
Method Details
-
evaluate
Description copied from class:TargetApplicationsNamespaceEvaluate the namespace against given target applications if it is necessary. Only self/not-self/app-label namespace types require this evaluation step, because they are not binding to a specific scope during initiating. So we do lazy binding for them in this method.- Specified by:
evaluatein interfaceEvaluable<TargetApplications>- Overrides:
evaluatein classTargetApplicationsNamespace- Parameters:
target- a generic type target that impacts this evaluation.
-
toString
- Overrides:
toStringin classTargetApplicationsNamespace
-