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)
DataSourceConsumer
isInUse
in interface DataSourceConsumer
id
- The id of data source to checkpublic Set<String> getUsedDataSourceIds()
DataSourceConsumer
getUsedDataSourceIds
in interface DataSourceConsumer