Class ConnectionPool!(Connection : EventedObject)
The connection pool is creating connections using the supplied factory function as needed
whenever lockConnection
() is called. Connections are associated to the calling fiber, as long
as any copy of the returned LockedConnection
object still exists. Connections that are not
associated
Inherits from
-
Object
(base class)
Fields
Field name | Field Type | Descrption |
---|---|---|
m_connectionFactory | Connection delegate() | |
m_connections | Connection[] | |
m_locks | Connection[Fiber] | |
m_lockCount | int[Connection] |
Methods
Method name | Description |
---|---|
this | |
lockConnection |
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.