# Path: oslo_db/api.py
# LOG = logging.getLogger(__name__)
# def safe_for_db_retry(f):
# def retry_on_deadlock(f):
# def retry_on_request(f):
#     def __init__(self, retry_interval=1, max_retries=20,
#                  inc_retry_interval=True,
#                  max_retry_interval=10, retry_on_disconnect=False,
#                  retry_on_deadlock=False,
#                  exception_checker=lambda exc: False,
#                  jitter=False):
#     def __call__(self, f):
#         def wrapper(*args, **kwargs):
#     def _is_exception_expected(self, exc):
#     def _get_inc_interval(self, n, jitter):
#     def __init__(self, backend_name, backend_mapping=None, lazy=False,
#                  **kwargs):
#     def _load_backend(self):
#     def __getattr__(self, key):
#     def from_config(cls, conf, backend_mapping=None, lazy=False):
# class wrap_db_retry(object):
# class DBAPI(object):


import copy
import logging
import threading
from debtcollector import removals
from oslo_config import cfg
from oslo_db import api
                            from eventlet import tpool
# Copyright 2014 Mirantis.inc
# All Rights Reserved.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.




LOG = logging.getLogger(__name__)

tpool_opts = [
    cfg.BoolOpt(
        'use_tpool',
        default=False,

# Path: oslo_db/api.py
# LOG = logging.getLogger(__name__)
# def safe_for_db_retry(f):
# def retry_on_deadlock(f):
# def retry_on_request(f):
#     def __init__(self, retry_interval=1, max_retries=20,
#                  inc_retry_interval=True,
#                  max_retry_interval=10, retry_on_disconnect=False,
#                  retry_on_deadlock=False,
#                  exception_checker=lambda exc: False,
#                  jitter=False):
#     def __call__(self, f):
#         def wrapper(*args, **kwargs):
#     def _is_exception_expected(self, exc):
#     def _get_inc_interval(self, n, jitter):
#     def __init__(self, backend_name, backend_mapping=None, lazy=False,
#                  **kwargs):
#     def _load_backend(self):
#     def __getattr__(self, key):
#     def from_config(cls, conf, backend_mapping=None, lazy=False):
# class wrap_db_retry(object):
# class DBAPI(object):


# Path: oslo_db/concurrency.py
import copy
import logging
import threading
from debtcollector import removals
from oslo_config import cfg
from oslo_db import api
                            from eventlet import tpool

# Copyright 2014 Mirantis.inc
# All Rights Reserved.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.




LOG = logging.getLogger(__name__)

tpool_opts = [
    cfg.BoolOpt(
        'use_tpool',
        default=False,

        deprecated_name='dbapi_use_tpool',