Class: ActiveRecord::ConnectionAdapters::StatementPool
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::StatementPool
show all
- Includes:
- Enumerable
- Defined in:
- lib/active_record/connection_adapters/statement_pool.rb
Instance Method Summary
collapse
Constructor Details
#initialize(connection, max = 1000) ⇒ StatementPool
Returns a new instance of StatementPool.
6
7
8
9
|
# File 'lib/active_record/connection_adapters/statement_pool.rb', line 6
def initialize(connection, max = 1000)
@connection = connection
@max = max
end
|
Instance Method Details
#[](key) ⇒ Object
19
20
21
|
# File 'lib/active_record/connection_adapters/statement_pool.rb', line 19
def [](key)
raise NotImplementedError
end
|
#[]=(sql, key) ⇒ Object
27
28
29
|
# File 'lib/active_record/connection_adapters/statement_pool.rb', line 27
def []=(sql, key)
raise NotImplementedError
end
|
#clear ⇒ Object
31
32
33
|
# File 'lib/active_record/connection_adapters/statement_pool.rb', line 31
def clear
raise NotImplementedError
end
|
#delete(key) ⇒ Object
35
36
37
|
# File 'lib/active_record/connection_adapters/statement_pool.rb', line 35
def delete(key)
raise NotImplementedError
end
|
#each ⇒ Object
11
12
13
|
# File 'lib/active_record/connection_adapters/statement_pool.rb', line 11
def each
raise NotImplementedError
end
|
#key?(key) ⇒ Boolean
15
16
17
|
# File 'lib/active_record/connection_adapters/statement_pool.rb', line 15
def key?(key)
raise NotImplementedError
end
|
#length ⇒ Object
23
24
25
|
# File 'lib/active_record/connection_adapters/statement_pool.rb', line 23
def length
raise NotImplementedError
end
|