'Constructor.
Args:
max_counts: [dict] The list of resources and quotas to manage.'

def __init__(self, max_counts):

    self.__counts = dict(max_counts)
    self.__max_counts = dict(max_counts)
    self.__condition_variable = threading.Condition()
