Interface DataSourceFactory
-
- All Known Implementing Classes:
FileDataSourceBuilder
,PollingDataSourceBuilder
,StreamingDataSourceBuilder
,TestData
public interface DataSourceFactory
Interface for a factory that creates some implementation ofDataSource
.- Since:
- 4.11.0
- See Also:
Components
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataSource
createDataSource(ClientContext context, DataSourceUpdates dataSourceUpdates)
Creates an implementation instance.
-
-
-
Method Detail
-
createDataSource
DataSource createDataSource(ClientContext context, DataSourceUpdates dataSourceUpdates)
Creates an implementation instance.The new
DataSource
should not attempt to make any connections untilDataSource.start()
is called.- Parameters:
context
- allows access to the client configurationdataSourceUpdates
- the component pushes data into the SDK via this interface- Returns:
- an
DataSource
-
-