Interface DataSourceFactory
- All Known Implementing Classes:
FileDataSourceBuilder,PollingDataSourceBuilder,StreamingDataSourceBuilder,TestData
public interface DataSourceFactory
Interface for a factory that creates some implementation of
DataSource.- Since:
- 4.11.0
- See Also:
Components
-
Method Summary
Modifier and Type Method Description DataSourcecreateDataSource(ClientContext context, DataSourceUpdates dataSourceUpdates)Creates an implementation instance.
-
Method Details
-
createDataSource
Creates an implementation instance.The new
DataSourceshould 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
-