Method: Couchbase::PingResult::ServiceInfo#state

Defined in:
lib/couchbase/diagnostics.rb

#stateSymbol

Possible states are:

:ok

endpoint is healthy

:timeout

endpoint didn’t respond in time

:error

request to endpoint has failed, see #error for additional details

Returns:

  • (Symbol)

    state of the endpoint



113
114
115
# File 'lib/couchbase/diagnostics.rb', line 113

def state
  @state
end