Class: Pgbus::Client::ResizablePool::Pool

Inherits:
Data
  • Object
show all
Defined in:
lib/pgbus/client/resizable_pool.rb

Overview

The current pool: a PGMQ::Client plus its own in-flight checkout counter.

Instance Attribute Summary collapse

Instance Attribute Details

#inflightObject (readonly)

Returns the value of attribute inflight

Returns:

  • (Object)

    the current value of inflight



34
35
36
# File 'lib/pgbus/client/resizable_pool.rb', line 34

def inflight
  @inflight
end

#pgmqObject (readonly)

Returns the value of attribute pgmq

Returns:

  • (Object)

    the current value of pgmq



34
35
36
# File 'lib/pgbus/client/resizable_pool.rb', line 34

def pgmq
  @pgmq
end