Class CompositionStreamId<X,​T>

  • Type Parameters:
    X - The type of objects emitted by the source Publishers.
    T - The type of objects emitted by the new created Publisher.
    All Implemented Interfaces:
    java.io.Serializable, StreamId<T>

    @Deprecated
    public final class CompositionStreamId<X,​T>
    extends java.lang.Object
    implements StreamId<T>, java.io.Serializable
    Deprecated.
    Generic implementation of StreamId which in conjunction with the CompositionStreamFactory allows for the easy creation of general purpose streams based on composition of streams. This class is experimental.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CompositionStreamId​(java.util.List<StreamId<X>> sourceStreamIds, java.util.function.Function<java.util.List<org.reactivestreams.Publisher<X>>,​org.reactivestreams.Publisher<T>> transformation)
      Deprecated.
      Creates a CompositionStreamId with the provided sourceStreamIds and function.
      CompositionStreamId​(StreamId<X> sourceStreamId, java.util.function.Function<java.util.List<org.reactivestreams.Publisher<X>>,​org.reactivestreams.Publisher<T>> transformation)
      Deprecated.
      Creates a CompositionStreamId with the provided sourceStreamId and function.
    • Constructor Detail

      • CompositionStreamId

        public CompositionStreamId​(StreamId<X> sourceStreamId,
                                   java.util.function.Function<java.util.List<org.reactivestreams.Publisher<X>>,​org.reactivestreams.Publisher<T>> transformation)
        Deprecated.
        Creates a CompositionStreamId with the provided sourceStreamId and function.
        Parameters:
        sourceStreamId - A StreamId that identifies the Publisher passed to the transformation function.
        transformation - The transformation Function to be used on the Publisher identified by the provided StreamId.
      • CompositionStreamId

        public CompositionStreamId​(java.util.List<StreamId<X>> sourceStreamIds,
                                   java.util.function.Function<java.util.List<org.reactivestreams.Publisher<X>>,​org.reactivestreams.Publisher<T>> transformation)
        Deprecated.
        Creates a CompositionStreamId with the provided sourceStreamIds and function.
        Parameters:
        sourceStreamIds - A List of StreamIds that will identifies the Publisher passed to the transformation function.
        transformation - The transformation Function to be used on the Publishers identified by the provided List of StreamIds.
    • Method Detail

      • sourceStreamIds

        public java.util.List<StreamId<X>> sourceStreamIds()
        Deprecated.
      • transformation

        public java.util.function.Function<java.util.List<org.reactivestreams.Publisher<X>>,​org.reactivestreams.Publisher<T>> transformation()
        Deprecated.
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object