org.apache.uima.ducc.common.admin.event

Class RmQueriedClass

  • All Implemented Interfaces:
    Serializable


    public class RmQueriedClass
    extends Object
    implements Serializable
    This object represents, for each class, the number of shares that are being requested of it, and the number of shares that have been awarded to requestsin this class, broken down by multiples of the share quantum (in essence number of processes broken down by size).
    See Also:
    Serialized Form
    • Constructor Detail

      • RmQueriedClass

        public RmQueriedClass()
    • Method Detail

      • getName

        public String getName()
        Returns:
        the name of the class.
      • setName

        public void setName(String name)
      • getPolicy

        public String getPolicy()
        Returns:
        the scheduling policy for the class: FAIR_SHARE FIXED_SHARE RESERVE
      • setPolicy

        public void setPolicy(String policy)
      • getDemanded

        public int[] getDemanded()
        Returns:
        an array, indexed by multiples of the share quantum, showing the number of requests of each size currently demanded by the workload.
      • setDemanded

        public void setDemanded(int[] demanded)
      • getAwarded

        public int[] getAwarded()
        Returns:
        an array, indexed by multiples of the share quantum, showing the number of requests of each size currently awared to requests in the class.
      • setAwarded

        public void setAwarded(int[] awarded)

Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.