Method: Couchbase::PingResult::ServiceInfo#state
- Defined in:
- lib/couchbase/diagnostics.rb
#state ⇒ Symbol
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
113 114 115 |
# File 'lib/couchbase/diagnostics.rb', line 113 def state @state end |