Class: Pgbus::Client::ResizablePool::SwapStats

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

Instance Attribute Summary collapse

Instance Attribute Details

#last_conns_closedObject (readonly)

Returns the value of attribute last_conns_closed

Returns:

  • (Object)

    the current value of last_conns_closed



36
37
38
# File 'lib/pgbus/client/resizable_pool.rb', line 36

def last_conns_closed
  @last_conns_closed
end

#last_drain_secondsObject (readonly)

Returns the value of attribute last_drain_seconds

Returns:

  • (Object)

    the current value of last_drain_seconds



36
37
38
# File 'lib/pgbus/client/resizable_pool.rb', line 36

def last_drain_seconds
  @last_drain_seconds
end

#last_drainedObject (readonly)

Returns the value of attribute last_drained

Returns:

  • (Object)

    the current value of last_drained



36
37
38
# File 'lib/pgbus/client/resizable_pool.rb', line 36

def last_drained
  @last_drained
end

#last_from_sizeObject (readonly)

Returns the value of attribute last_from_size

Returns:

  • (Object)

    the current value of last_from_size



36
37
38
# File 'lib/pgbus/client/resizable_pool.rb', line 36

def last_from_size
  @last_from_size
end

#last_to_sizeObject (readonly)

Returns the value of attribute last_to_size

Returns:

  • (Object)

    the current value of last_to_size



36
37
38
# File 'lib/pgbus/client/resizable_pool.rb', line 36

def last_to_size
  @last_to_size
end

#swap_countObject (readonly)

Returns the value of attribute swap_count

Returns:

  • (Object)

    the current value of swap_count



36
37
38
# File 'lib/pgbus/client/resizable_pool.rb', line 36

def swap_count
  @swap_count
end