netflix.ocelli.ClientConnector 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 priming a client prior to placing it in the connection
* pool. A subscription to the client connector is made for each client
* instance in a load balancer. The Observable will emit back the client
* every time the client is considered connected.
*
* @author elandau
*
* @param
*/
public interface ClientConnector extends Func1>{
@Override
public Observable call(C client);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy