Package org.streamingpool.core.service
Interface CreatorProvidingService
-
- All Known Implementing Classes:
CreatorStreamFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CreatorProvidingServiceInterface used for providing a stream using aStreamCreator.- See Also:
StreamCreator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> voidprovide(StreamId<T> id, StreamCreator<T> streamSupplier)Provides aStreamCreatorassociated to the specified id.
-
-
-
Method Detail
-
provide
<T> void provide(StreamId<T> id, StreamCreator<T> streamSupplier)
Provides aStreamCreatorassociated to the specified id.- Parameters:
id- the identifier of the stream that theStreamCreatorwill createstreamSupplier- theStreamCreatorthat is able to create thePublisherspecified using the given id
-
-