123456789_123456789_123456789_123456789_123456789_

Class: ActiveRecord::ConnectionAdapters::NullPool

Do not use. This class is for internal use only.
Relationships & Source Files
Namespace Children
Classes:
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:
self, AbstractPool
Inherits: Object
Defined in: activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb

Constant Summary

Class Method Summary

Instance Method Summary

Constructor Details

.newNullPool

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 25

def initialize
  super()
  @mutex = Mutex.new
  @server_version = nil
end

Instance Method Details

#async_executor

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 43

def async_executor; end

#checkin(_)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 41

def checkin(_); end

#connection_class

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 40

def connection_class; end

#db_config

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 45

def db_config
  NULL_CONFIG
end

#dirties_query_cache

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 49

def dirties_query_cache
  true
end

#remove(_)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 42

def remove(_); end

#schema_cache

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 39

def schema_cache; end

#schema_reflection

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 35

def schema_reflection
  SchemaReflection.new(nil)
end

#server_version(connection)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 31

def server_version(connection) # :nodoc:
  @server_version || @mutex.synchronize { @server_version ||= connection.get_database_version }
end