Module: Makara

Defined in:
lib/makara/pool.rb,
lib/makara.rb,
lib/makara/cache.rb,
lib/makara/proxy.rb,
lib/makara/cookie.rb,
lib/makara/context.rb,
lib/makara/railtie.rb,
lib/makara/version.rb,
lib/makara/middleware.rb,
lib/makara/config_parser.rb,
lib/makara/error_handler.rb,
lib/makara/logging/logger.rb,
lib/makara/connection_wrapper.rb,
lib/makara/logging/subscriber.rb,
lib/makara/errors/makara_error.rb,
lib/makara/strategies/abstract.rb,
lib/makara/errors/invalid_shard.rb,
lib/makara/strategies/round_robin.rb,
lib/makara/strategies/shard_aware.rb,
lib/makara/errors/blacklist_connection.rb,
lib/makara/strategies/priority_failover.rb,
lib/makara/errors/no_connections_available.rb,
lib/makara/errors/all_connections_blacklisted.rb,
lib/makara/errors/blacklisted_while_in_transaction.rb

Overview

Makara::ConnectionWrapper wraps the instance of an underlying connection. The wrapper provides methods for tracking blacklisting and individual makara configurations. Upon creation, the wrapper defines methods in the underlying object giving it access to the Makara::Proxy.

Defined Under Namespace

Modules: Cache, Cookie, Errors, Logging, Strategies, VERSION Classes: ConfigParser, ConnectionWrapper, Context, ErrorHandler, Middleware, Pool, Proxy, Railtie