Ejemplo n.º 1
0
    def __init__(self, conf):
        super(ZookeeperModSanQueue, self).__init__(conf)

        self._conf.register_opts(AKAMAI_OPTIONS, group=AKAMAI_GROUP)
        self.akamai_conf = self._conf[AKAMAI_GROUP]

        self.mod_san_queue_backend = queue.LockingQueue(
            self.zk_client, self.akamai_conf.mod_san_queue_path)
Ejemplo n.º 2
0
 def mod_san_queue_backend(self):
     return queue.LockingQueue(self.zk_client,
                               self.akamai_conf.mod_san_queue_path)
Ejemplo n.º 3
0
 def san_mapping_queue_backend(self):
     return queue.LockingQueue(
         self.zk_client,
         self.akamai_conf.san_mapping_queue_path)
Ejemplo n.º 4
0
 def http_policy_queue_backend(self):
     return queue.LockingQueue(
         self.zk_client,
         self.akamai_conf.http_policy_queue_path)