public class MetaPointLocatorRT extends PointLocatorRT implements DataPointListener
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
MetaPointLocatorRT.ExecutionDelayTimeout |
(package private) class |
MetaPointLocatorRT.ScheduledUpdateTimeout |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,IDataPoint> |
context |
protected DataPointRT |
dataPoint |
private MetaDataSourceRT |
dataSource |
(package private) boolean |
initialized |
(package private) java.lang.Boolean |
LOCK |
private static int |
MAX_RECURSION |
private static java.lang.ThreadLocal<java.util.List<java.lang.Integer>> |
threadLocal |
(package private) com.serotonin.timer.AbstractTimer |
timer |
(package private) com.serotonin.timer.TimerTask |
timerTask |
(package private) MetaPointLocatorVO |
vo |
| Constructor and Description |
|---|
MetaPointLocatorRT(MetaPointLocatorVO vo) |
| Modifier and Type | Method and Description |
|---|---|
(package private) long |
calculateTimeout(long time) |
private void |
createContext() |
(package private) void |
execute(long runtime,
java.util.List<java.lang.Integer> sourceIds) |
MetaPointLocatorVO |
getPointLocatorVO() |
protected void |
handleError(long runtime,
com.serotonin.web.i18n.LocalizableMessage message) |
void |
initialize(com.serotonin.timer.AbstractTimer timer,
MetaDataSourceRT dataSource,
DataPointRT dataPoint) |
protected void |
initializeTimerTask() |
(package private) boolean |
isContextCreated() |
boolean |
isSettable() |
void |
pointBackdated(PointValueTime value)
This method is called when a backdated value is received.
|
void |
pointChanged(PointValueTime oldValue,
PointValueTime newValue)
This method is called every time the point gets a value that is different from its previous value (except for its
initialization).
|
void |
pointInitialized()
This method is called for all existing listeners when the point is initialized.
|
void |
pointSet(PointValueTime oldValue,
PointValueTime newValue)
This method is called every time the point gets set, whether the value changes or not.
|
void |
pointTerminated()
This method is called when the point has been terminated, allowing listeners to react as necessary.
|
void |
pointUpdated(PointValueTime newValue)
This method is called every time the point gets a value from somewhere (except for its initialization).
|
void |
terminate() |
protected void |
updatePoint(PointValueTime pvt) |
isRelinquishableprivate static final java.lang.ThreadLocal<java.util.List<java.lang.Integer>> threadLocal
private static final int MAX_RECURSION
final java.lang.Boolean LOCK
final MetaPointLocatorVO vo
com.serotonin.timer.AbstractTimer timer
private MetaDataSourceRT dataSource
protected DataPointRT dataPoint
protected java.util.Map<java.lang.String,IDataPoint> context
boolean initialized
com.serotonin.timer.TimerTask timerTask
public MetaPointLocatorRT(MetaPointLocatorVO vo)
public boolean isSettable()
isSettable in class PointLocatorRTpublic MetaPointLocatorVO getPointLocatorVO()
boolean isContextCreated()
public void initialize(com.serotonin.timer.AbstractTimer timer,
MetaDataSourceRT dataSource,
DataPointRT dataPoint)
protected void initializeTimerTask()
public void terminate()
public void pointChanged(PointValueTime oldValue, PointValueTime newValue)
DataPointListenerpointChanged in interface DataPointListenerpublic void pointSet(PointValueTime oldValue, PointValueTime newValue)
DataPointListenerpointSet in interface DataPointListenerpublic void pointUpdated(PointValueTime newValue)
DataPointListenerpointUpdated in interface DataPointListenerpublic void pointBackdated(PointValueTime value)
DataPointListenerpointBackdated in interface DataPointListenerpublic void pointInitialized()
DataPointListenerpointInitialized in interface DataPointListenerpublic void pointTerminated()
DataPointListenerpointTerminated in interface DataPointListenerlong calculateTimeout(long time)
void execute(long runtime,
java.util.List<java.lang.Integer> sourceIds)
private void createContext()
protected void updatePoint(PointValueTime pvt)
protected void handleError(long runtime,
com.serotonin.web.i18n.LocalizableMessage message)