Liking cljdoc? Tell your friends :D

monero-store.collect.reachability

Can the store reach the services it settles through?

A telnet by hand answers this once, for one person, and leaves nothing behind. probe answers it as a value: which endpoint, which outcome, how long it took.

Can the store reach the services it settles through?

A telnet by hand answers this once, for one person, and leaves nothing
behind. `probe` answers it as a value: which endpoint, which outcome, how
long it took.
raw docstring

blocked?clj

(blocked? outcome)

True when outcome is a path that never answered, as opposed to a service that answered by refusing.

True when `outcome` is a path that never answered, as opposed to a service
that answered by refusing.
sourceraw docstring

classifyclj

(classify failure)

The Reachability variant failure means. Nil failure is :reach/open.

The Reachability variant `failure` means. Nil failure is `:reach/open`.
sourceraw docstring

endpoint-of-urlclj

(endpoint-of-url label url)

The endpoint url names, or nil when it names none.

A URL with no explicit port takes its scheme's default. A JDBC URL is read through the driver scheme it wraps.

The endpoint `url` names, or nil when it names none.

A URL with no explicit port takes its scheme's default. A JDBC URL is read
through the driver scheme it wraps.
sourceraw docstring

fake-probeclj

(fake-probe outcomes)

IEndpointProbe over a map of [host port] -> Throwable-or-nil.

IEndpointProbe over a map of [host port] -> Throwable-or-nil.
sourceraw docstring

IEndpointProbecljprotocol

attemptclj

(attempt this host port timeout-ms)

Open a TCP connection and close it. Returns nil on success, or the Throwable that stopped it.

Open a TCP connection and close it. Returns nil on success, or the
Throwable that stopped it.
source

open?clj

(open? report)

True when report says the endpoint accepted a connection.

True when `report` says the endpoint accepted a connection.
sourceraw docstring

probeclj

(probe prober {:endpoint/keys [host port label] :as _endpoint} timeout-ms)

Reach endpoint through prober and report what happened.

endpoint is {:endpoint/host :endpoint/port :endpoint/label}. Never throws: an unreachable service is a value, because the caller's job is to report it.

Reach `endpoint` through `prober` and report what happened.

`endpoint` is {:endpoint/host :endpoint/port :endpoint/label}. Never throws:
an unreachable service is a value, because the caller's job is to report it.
sourceraw docstring

reportclj

(report prober endpoints timeout-ms)

Probe every endpoint and say whether this deployment can reach what it settles through.

:reach/ok? is vacuously true for an empty list — a deployment that reaches nothing over the network has nothing to fail. :reach/checked is how a caller tells that apart from a healthy round.

Probe every endpoint and say whether this deployment can reach what it
settles through.

`:reach/ok?` is vacuously true for an empty list — a deployment that reaches
nothing over the network has nothing to fail. `:reach/checked` is how a
caller tells that apart from a healthy round.
sourceraw docstring

socket-probeclj

(socket-probe)

IEndpointProbe over a real TCP connect.

IEndpointProbe over a real TCP connect.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close