public class CapacitySchedulerInfoHelper
extends Object
Helper class to describe a queue's type, its creation method and its
eligibility of having auto created children.
queueType: a queue can be a parent or a leaf.
creationMethod: the creation method of the queue. Can be: static,
dynamicLegacy or dynamicFlexible. When the legacy way of queue auto-creation
(before YARN-10506) is used, a parent can only be static (ManagedParent)
and a leaf queue can only be dynamicLegacy (no static child queues are
allowed under ManagedParents). When the flexible auto queue creation is used
both a parent and a leaf can be either static or dynamicFlexible.
autoCreationEligibility: describes whether a queue can have dynamically
created children. Can be: off, legacy or flexible. Every leaf will have this
field with the value off, as they can't have children. When the legacy way
of queue auto-creation (before YARN-10506) is used a ManagedParent will have
the legacy value. When the flexible auto queue creation is used a static
parent can have the value flexible if it is configured to allow auto queue
creation, or off if it is not. A dynamic parent implicitly will have the
value flexible, as a dynamically created parent cannot have static children.