- All Implemented Interfaces:
- io.reactivesocket.Availability, io.reactivesocket.client.ReactiveSocketClient, io.reactivesocket.events.EventSource<io.reactivesocket.events.ClientEventListener>, io.reactivesocket.events.EventSource.EventSubscription, io.reactivesocket.internal.EventPublisher<io.reactivesocket.events.ClientEventListener>
public class FailureAwareClient
extends io.reactivesocket.client.AbstractReactiveSocketClient
This child compute the error rate of a particular remote location and adapt the availability
of the ReactiveSocketFactory but also of the ReactiveSocket.
It means that if a remote host doesn't generate lots of errors when connecting to it, but a
lot of them when sending messages, we will still decrease the availability of the child
reducing the probability of connecting to it.