Package api

Interface SubmitOuterClass.PriorityClassResourceLimitsOrBuilder

    • Method Detail

      • getMaximumResourceFractionCount

        int getMaximumResourceFractionCount()
         Limits resources assigned to jobs of this priority class.
         Specifically, jobs of this priority class are only scheduled if doing so does not exceed this limit.
         
        map<string, double> maximum_resource_fraction = 1;
      • containsMaximumResourceFraction

        boolean containsMaximumResourceFraction​(String key)
         Limits resources assigned to jobs of this priority class.
         Specifically, jobs of this priority class are only scheduled if doing so does not exceed this limit.
         
        map<string, double> maximum_resource_fraction = 1;
      • getMaximumResourceFractionMap

        Map<String,​Double> getMaximumResourceFractionMap()
         Limits resources assigned to jobs of this priority class.
         Specifically, jobs of this priority class are only scheduled if doing so does not exceed this limit.
         
        map<string, double> maximum_resource_fraction = 1;
      • getMaximumResourceFractionOrDefault

        double getMaximumResourceFractionOrDefault​(String key,
                                                   double defaultValue)
         Limits resources assigned to jobs of this priority class.
         Specifically, jobs of this priority class are only scheduled if doing so does not exceed this limit.
         
        map<string, double> maximum_resource_fraction = 1;
      • getMaximumResourceFractionOrThrow

        double getMaximumResourceFractionOrThrow​(String key)
         Limits resources assigned to jobs of this priority class.
         Specifically, jobs of this priority class are only scheduled if doing so does not exceed this limit.
         
        map<string, double> maximum_resource_fraction = 1;
      • getMaximumResourceFractionByPoolCount

        int getMaximumResourceFractionByPoolCount()
         Per-pool override of maximum_resource_fraction.
         If missing for a particular pool, maximum_resource_fraction is used instead for that pool.
         
        map<string, .api.PriorityClassPoolResourceLimits> maximum_resource_fraction_by_pool = 2;
      • containsMaximumResourceFractionByPool

        boolean containsMaximumResourceFractionByPool​(String key)
         Per-pool override of maximum_resource_fraction.
         If missing for a particular pool, maximum_resource_fraction is used instead for that pool.
         
        map<string, .api.PriorityClassPoolResourceLimits> maximum_resource_fraction_by_pool = 2;
      • getMaximumResourceFractionByPoolMap

        Map<String,​SubmitOuterClass.PriorityClassPoolResourceLimits> getMaximumResourceFractionByPoolMap()
         Per-pool override of maximum_resource_fraction.
         If missing for a particular pool, maximum_resource_fraction is used instead for that pool.
         
        map<string, .api.PriorityClassPoolResourceLimits> maximum_resource_fraction_by_pool = 2;
      • getMaximumResourceFractionByPoolOrThrow

        SubmitOuterClass.PriorityClassPoolResourceLimits getMaximumResourceFractionByPoolOrThrow​(String key)
         Per-pool override of maximum_resource_fraction.
         If missing for a particular pool, maximum_resource_fraction is used instead for that pool.
         
        map<string, .api.PriorityClassPoolResourceLimits> maximum_resource_fraction_by_pool = 2;