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)
def mod_san_queue_backend(self): return queue.LockingQueue(self.zk_client, self.akamai_conf.mod_san_queue_path)
def san_mapping_queue_backend(self): return queue.LockingQueue( self.zk_client, self.akamai_conf.san_mapping_queue_path)
def http_policy_queue_backend(self): return queue.LockingQueue( self.zk_client, self.akamai_conf.http_policy_queue_path)