public class SchedulerDataSourceConsumer extends Object implements DataSourceConsumer, Component
DataSourceConsumer allowing to know whether a data source is used by the Scheduler or not.
It also allows to retrieve the data source ids that are currently in use.| Constructor and Description |
|---|
SchedulerDataSourceConsumer() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getUsedDataSourceIds()
Retrieve the ids of the used data sources
|
boolean |
isInUse(String id)
Determines if a data source is used
|
public SchedulerDataSourceConsumer()
public boolean isInUse(String id)
DataSourceConsumerisInUse in interface DataSourceConsumerid - The id of data source to checkpublic Set<String> getUsedDataSourceIds()
DataSourceConsumergetUsedDataSourceIds in interface DataSourceConsumer