A busy Service or ServiceFactory is transiently unavailable.
A busy Service or ServiceFactory is transiently unavailable. A Busy Service or ServiceFactory can be used, but may not provide service immediately.
The Service or ServiceFactory is closed.
The Service or ServiceFactory is closed. It will never service requests or sessions again. (And should probably be discarded.)
An open Service or ServiceFactory is ready to be used.
An open Service or ServiceFactory is ready to be used. It can service requests or sessions immediately.
A blocking version of whenOpen; this method returns when the status has become Open.
A composite status indicating the most healthy of the two.
The status representing the best of the given statuses
extracted by status
on ts
.
The status representing the best of the given statuses
extracted by status
on ts
.
this may terminate early so don't rely on this method
for running side effects on ts
Open returns a com.twitter.util.Future that is satisfied
when the status returned by get
is Open.
A composite status indicating the least healthy of the two.
The status representing the worst of the given statuses
extracted by status
on ts
.
The status representing the worst of the given statuses
extracted by status
on ts
.
this may terminate early so don't rely on this method
for running side effects on ts
Define valid Status! values. They are, in order from most to least healthy:
(An scala.math.Ordering is defined in these terms.)