Class: Pgoutput::Client::RunnerStateData

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

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



5
6
7
# File 'lib/pgoutput/client/state.rb', line 5

def connected
  @connected
end

#last_errorObject (readonly)

Returns the value of attribute last_error

Returns:

  • (Object)

    the current value of last_error



5
6
7
# File 'lib/pgoutput/client/state.rb', line 5

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



5
6
7
# File 'lib/pgoutput/client/state.rb', line 5

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



5
6
7
# File 'lib/pgoutput/client/state.rb', line 5

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



5
6
7
# File 'lib/pgoutput/client/state.rb', line 5

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



5
6
7
# File 'lib/pgoutput/client/state.rb', line 5

def reconnect_attempts
  @reconnect_attempts
end

#runningObject (readonly)

Returns the value of attribute running

Returns:

  • (Object)

    the current value of running



5
6
7
# File 'lib/pgoutput/client/state.rb', line 5

def running
  @running
end

#stop_requestedObject (readonly)

Returns the value of attribute stop_requested

Returns:

  • (Object)

    the current value of stop_requested



5
6
7
# File 'lib/pgoutput/client/state.rb', line 5

def stop_requested
  @stop_requested
end