public class AttributeDataSourceSummarizer extends AbstractDataSourceSummarizer
DATA_SOURCE_ID
Constructor and Description |
---|
AttributeDataSourceSummarizer(Executor executor,
ObjectPoolTracker<DataSource> tracker) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
protected void |
handleAdding(DataSource source)
Called right before the new data source is added but before it is registered
|
protected void |
handleRemoved(DataSource source)
Called after the data source has been removed
|
protected void |
handleStateChange(DataSource source,
DataItemValue value) |
protected boolean |
isMatch(DataSource source,
DataItemValue value) |
protected boolean |
isMatch(DataSource source,
Dictionary<?,?> properties) |
void |
update(Map<String,String> parameters) |
protected void |
updateStats() |
close, getExecutor, handleAdded, handleRemoved, open
startWriteAttributes, startWriteValue
addListener, removeListener, updateData
public AttributeDataSourceSummarizer(Executor executor, ObjectPoolTracker<DataSource> tracker)
protected void handleAdding(DataSource source)
AbstractDataSourceSummarizer
handleAdding
in class AbstractDataSourceSummarizer
source
- the source that changedprotected void handleRemoved(DataSource source)
AbstractDataSourceSummarizer
handleRemoved
in class AbstractDataSourceSummarizer
source
- the source that changedprotected void handleStateChange(DataSource source, DataItemValue value)
handleStateChange
in class AbstractDataSourceSummarizer
protected boolean isMatch(DataSource source, Dictionary<?,?> properties)
isMatch
in class AbstractDataSourceSummarizer
protected boolean isMatch(DataSource source, DataItemValue value)
protected void updateStats()
public void dispose()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.