Exemplo n.º 1
0
 internal CapacitySchedulerLeafQueueInfo(LeafQueue q)
     : base(q)
 {
     // To add another level in the XML
     numActiveApplications  = q.GetNumActiveApplications();
     numPendingApplications = q.GetNumPendingApplications();
     numContainers          = q.GetNumContainers();
     maxApplications        = q.GetMaxApplications();
     maxApplicationsPerUser = q.GetMaxApplicationsPerUser();
     userLimit           = q.GetUserLimit();
     users               = new UsersInfo(q.GetUsers());
     userLimitFactor     = q.GetUserLimitFactor();
     AMResourceLimit     = new ResourceInfo(q.GetAMResourceLimit());
     usedAMResource      = new ResourceInfo(q.GetQueueResourceUsage().GetAMUsed());
     userAMResourceLimit = new ResourceInfo(q.GetUserAMResourceLimit());
     preemptionDisabled  = q.GetPreemptionDisabled();
 }