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

netflix.ocelli.functions.Topologies Maven / Gradle / Ivy

There is a newer version: 0.1.0-rc.2
Show newest version
package netflix.ocelli.functions;

import netflix.ocelli.topologies.RingTopology;
import rx.functions.Func1;

/**
 * Convenience class for creating different topologies that filter clients into 
 * a specific arrangement that limit the set of clients this instance will communicate
 * with.
 * 
 * @author elandau
 *
 */
public abstract class Topologies {

    public static > RingTopology ring(K id, Func1 idFunc, Func1 countFunc) {
        return new RingTopology(id, idFunc, countFunc);
    }
        
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy