Class Broadcast


  • public class Broadcast
    extends java.lang.Object
    Create a new Broadcast operator with the specified input type.

    param: outputCount number of output ports param: eagerCancel if true, broadcast cancels upstream if any of its downstreams cancel.

    • Constructor Detail

      • Broadcast

        public Broadcast()
    • Method Detail

      • create

        public static <T> Graph<UniformFanOutShape<T,​T>,​NotUsed> create​(int outputCount)
        Create a new Broadcast operator with the specified input type.

        Parameters:
        outputCount - number of output ports
        Returns:
        (undocumented)
      • create

        public static <T> Graph<UniformFanOutShape<T,​T>,​NotUsed> create​(java.lang.Class<T> clazz,
                                                                                    int outputCount)
        Create a new Broadcast operator with the specified input type.
        Parameters:
        clazz - (undocumented)
        outputCount - (undocumented)
        Returns:
        (undocumented)