netflix.ocelli.FailureDetectorFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ocelli-core Show documentation
Show all versions of ocelli-core Show documentation
ocelli-core developed by Netflix
package netflix.ocelli;
import rx.Observable;
import rx.functions.Func1;
/**
* Contract for a failure detector. A subscription to the failure detector
* is made of each client instance in a load balancer. The returned Observable
* will emit an exception for each failure. A subscription is likely to persist
* for the entire lifetime of the client.
*
* @author elandau
*
* @param
*/
public interface FailureDetectorFactory extends Func1>{
@Override
public Observable call(C client);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy