Class: ActiveRecord::ConnectionAdapters::RactorConnectionHandler::ProxyConnectionPool::SchemaCacheProxy
| Relationships & Source Files | |
| Inherits: | Object |
| Defined in: | activerecord/lib/active_record/connection_adapters/ractor_connection_handler/proxy_connection_pool.rb |
Overview
Dispatches schema cache lookups to the schema cache of this pool's main-Ractor counterpart.
Class Method Summary
- .new(pool) ⇒ SchemaCacheProxy constructor
Constructor Details
.new(pool) ⇒ SchemaCacheProxy
# File 'activerecord/lib/active_record/connection_adapters/ractor_connection_handler/proxy_connection_pool.rb', line 18
def initialize(pool) @pool = pool end