Class: Pgoutput::Client::RunnerStateData Private

Inherits:
Data
  • Object
show all
Defined in:
lib/pgoutput/client/state.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Internal immutable base class generated by Data.define for RunnerState.

Direct Known Subclasses

RunnerState

Instance Attribute Summary collapse

Instance Attribute Details

#connectedObject (readonly)

Returns the value of attribute connected

Returns:

  • (Object)

    the current value of connected



8
9
10
# File 'lib/pgoutput/client/state.rb', line 8

def connected
  @connected
end

#last_errorObject (readonly)

Returns the value of attribute last_error

Returns:

  • (Object)

    the current value of last_error



8
9
10
# File 'lib/pgoutput/client/state.rb', line 8

def last_error
  @last_error
end

#last_feedback_lsnObject (readonly)

Returns the value of attribute last_feedback_lsn

Returns:

  • (Object)

    the current value of last_feedback_lsn



8
9
10
# File 'lib/pgoutput/client/state.rb', line 8

def last_feedback_lsn
  @last_feedback_lsn
end

#last_keepalive_atObject (readonly)

Returns the value of attribute last_keepalive_at

Returns:

  • (Object)

    the current value of last_keepalive_at



8
9
10
# File 'lib/pgoutput/client/state.rb', line 8

def last_keepalive_at
  @last_keepalive_at
end

#last_received_lsnObject (readonly)

Returns the value of attribute last_received_lsn

Returns:

  • (Object)

    the current value of last_received_lsn



8
9
10
# File 'lib/pgoutput/client/state.rb', line 8

def last_received_lsn
  @last_received_lsn
end

#reconnect_attemptsObject (readonly)

Returns the value of attribute reconnect_attempts

Returns:

  • (Object)

    the current value of reconnect_attempts



8
9
10
# File 'lib/pgoutput/client/state.rb', line 8

def reconnect_attempts
  @reconnect_attempts
end

#runningObject (readonly)

Returns the value of attribute running

Returns:

  • (Object)

    the current value of running



8
9
10
# File 'lib/pgoutput/client/state.rb', line 8

def running
  @running
end

#stop_requestedObject (readonly)

Returns the value of attribute stop_requested

Returns:

  • (Object)

    the current value of stop_requested



8
9
10
# File 'lib/pgoutput/client/state.rb', line 8

def stop_requested
  @stop_requested
end