Class: Hyperion::AsyncPg::ForkSafe::Registration
- Inherits:
-
Struct
- Object
- Struct
- Hyperion::AsyncPg::ForkSafe::Registration
- Defined in:
- lib/hyperion/async_pg/fork_safe.rb
Overview
Internal record of a registered pool plus its fork-time options. Keeping it a tiny Struct (not a tuple) keeps callers honest and makes the prefill flag self-documenting in stack traces.
Instance Attribute Summary collapse
-
#pool ⇒ Object
Returns the value of attribute pool.
-
#prefill_in_child ⇒ Object
Returns the value of attribute prefill_in_child.
Instance Attribute Details
#pool ⇒ Object
Returns the value of attribute pool
65 66 67 |
# File 'lib/hyperion/async_pg/fork_safe.rb', line 65 def pool @pool end |
#prefill_in_child ⇒ Object
Returns the value of attribute prefill_in_child
65 66 67 |
# File 'lib/hyperion/async_pg/fork_safe.rb', line 65 def prefill_in_child @prefill_in_child end |