示例#1
0
 def __init__(self, policy):
     QueueDict.__init__(self)
     self.policy = policy
     #create default queue
     ###
     # samnickolay
     self.add_queues([{"name": "default", "policy": policy}])
示例#2
0
 def __init__(self, policy):
     QueueDict.__init__(self)
     self.policy = policy
     #create default queue
     self.add_queues([{"name": "default", "policy": "default"}])
示例#3
0
文件: qsim.py 项目: ido/cobalt
 def __init__(self, policy):
     QueueDict.__init__(self)
     self.policy = policy
     #create default queue
     self.add_queues([{"name":"default", "policy":"default"}])