Class TopologyContainerFactory
- java.lang.Object
-
- io.streamthoughts.azkarra.runtime.env.internal.TopologyContainerFactory
-
public class TopologyContainerFactory extends Object
TopologyContainerFactory.
-
-
Constructor Summary
Constructors Constructor Description TopologyContainerFactory(StreamsExecutionEnvironment environment, Supplier<ApplicationIdBuilder> applicationIdBuilderSupplier)
Creates a newTopologyContainerFactory
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopologyContainer
make(Supplier<TopologyProvider> providerSupplier, Executed executed)
Makes aTopology
instance using the specifiedTopologyDescriptor
.void
setApplicationIdBuilder(Supplier<ApplicationIdBuilder> applicationIdBuilderSupplier)
-
-
-
Constructor Detail
-
TopologyContainerFactory
public TopologyContainerFactory(StreamsExecutionEnvironment environment, Supplier<ApplicationIdBuilder> applicationIdBuilderSupplier)
Creates a newTopologyContainerFactory
instance.- Parameters:
environment
- theStreamsExecutionEnvironment
instance.
-
-
Method Detail
-
setApplicationIdBuilder
public void setApplicationIdBuilder(Supplier<ApplicationIdBuilder> applicationIdBuilderSupplier)
-
make
public TopologyContainer make(Supplier<TopologyProvider> providerSupplier, Executed executed)
Makes aTopology
instance using the specifiedTopologyDescriptor
.- Parameters:
providerSupplier
- theTopologyProvider
instance.executed
- theExecuted
instance.- Returns:
- a new
Topology
instance.
-
-