Class: ActiveRecord::ConnectionAdapters::StatementPool
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
::Enumerable
|
|
Inherits: | Object |
Defined in: | activerecord/lib/active_record/connection_adapters/statement_pool.rb |
Class Method Summary
- .new(connection, max = 1000) ⇒ StatementPool constructor
Instance Attribute Summary
::Enumerable - Included
#many? | Returns |
Instance Method Summary
::Enumerable - Included
Constructor Details
.new(connection, max = 1000) ⇒ StatementPool
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 6
def initialize(connection, max = 1000) @connection = connection @max = max end
Instance Method Details
#[](key)
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 19
def [](key) raise NotImplementedError end
#[]=(sql, key)
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 27
def []=(sql, key) raise NotImplementedError end
#clear
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 31
def clear raise NotImplementedError end
#delete(key)
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 35
def delete(key) raise NotImplementedError end
#each
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 11
def each raise NotImplementedError end
#key?(key) ⇒ Boolean
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 15
def key?(key) raise NotImplementedError end
#length
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 23
def length raise NotImplementedError end