| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager.reservation | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CapacityOverTimePolicyThis policy enforces a time-extended notion of Capacity. | 
| class  | NoOverCommitPolicyThis policy enforce a simple physical cluster capacity constraints, by
 validating that the allocation proposed fits in the current plan. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected SharingPolicy | AbstractReservationSystem. getAdmissionPolicy(String queueName) | 
| SharingPolicy | PlanContext. getSharingPolicy()Return the configured  SharingPolicythat governs the sharing of the
 resources of the plan between its various users | 
| SharingPolicy | InMemoryPlan. getSharingPolicy() | 
| Constructor and Description | 
|---|
| InMemoryPlan(QueueMetrics queueMetrics,
            SharingPolicy policy,
            ReservationAgent agent,
            org.apache.hadoop.yarn.api.records.Resource totalCapacity,
            long step,
            org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc,
            org.apache.hadoop.yarn.api.records.Resource minAlloc,
            org.apache.hadoop.yarn.api.records.Resource maxAlloc,
            String queueName,
            Planner replanner,
            boolean getMoveOnExpiry,
            long maxPeriodicity,
            RMContext rmContext) | 
| InMemoryPlan(QueueMetrics queueMetrics,
            SharingPolicy policy,
            ReservationAgent agent,
            org.apache.hadoop.yarn.api.records.Resource totalCapacity,
            long step,
            org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc,
            org.apache.hadoop.yarn.api.records.Resource minAlloc,
            org.apache.hadoop.yarn.api.records.Resource maxAlloc,
            String queueName,
            Planner replanner,
            boolean getMoveOnExpiry,
            long maxPeriodicty,
            RMContext rmContext,
            org.apache.hadoop.yarn.util.Clock clock) | 
| InMemoryPlan(QueueMetrics queueMetrics,
            SharingPolicy policy,
            ReservationAgent agent,
            org.apache.hadoop.yarn.api.records.Resource totalCapacity,
            long step,
            org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc,
            org.apache.hadoop.yarn.api.records.Resource minAlloc,
            org.apache.hadoop.yarn.api.records.Resource maxAlloc,
            String queueName,
            Planner replanner,
            boolean getMoveOnExpiry,
            RMContext rmContext) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.