Class StreamsExecutionEnvironmentAbstractFactory
- java.lang.Object
-
- io.streamthoughts.azkarra.runtime.StreamsExecutionEnvironmentAbstractFactory
-
public class StreamsExecutionEnvironmentAbstractFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description StreamsExecutionEnvironmentAbstractFactory(Collection<StreamsExecutionEnvironmentFactory> factories)
Creates a newStreamsExecutionEnvironmentAbstractFactory
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFactory(StreamsExecutionEnvironmentFactory<?> factory)
Adds a newStreamsExecutionEnvironmentFactory
to this one.StreamsExecutionEnvironment<?>
create(String type, String name, Conf conf)
Creates a newStreamsExecutionEnvironment
for the specified type using the given name and configuration.
-
-
-
Constructor Detail
-
StreamsExecutionEnvironmentAbstractFactory
public StreamsExecutionEnvironmentAbstractFactory(Collection<StreamsExecutionEnvironmentFactory> factories)
Creates a newStreamsExecutionEnvironmentAbstractFactory
instance.- Parameters:
factories
- all theStreamsExecutionEnvironmentFactory
.
-
-
Method Detail
-
create
public StreamsExecutionEnvironment<?> create(String type, String name, Conf conf)
Creates a newStreamsExecutionEnvironment
for the specified type using the given name and configuration.- Parameters:
type
- the environment type.name
- the environment name.conf
- the environment configuration.- Returns:
- a new
StreamsExecutionEnvironment
.
-
addFactory
public void addFactory(StreamsExecutionEnvironmentFactory<?> factory)
Adds a newStreamsExecutionEnvironmentFactory
to this one.- Parameters:
factory
- theStreamsExecutionEnvironmentFactory
to be added.
-
-