All Downloads are FREE. Search and download functionalities are using the official Maven repository.

netflix.ocelli.ClientConnector Maven / Gradle / Ivy

There is a newer version: 0.1.0-rc.2
Show newest version
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