netflix.ocelli.functions.Topologies 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.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 - 2025 Weber Informatics LLC | Privacy Policy