public class ScriptMonitor extends AbstractPersistentStateMonitor
| Modifier and Type | Class and Description |
|---|---|
class |
ScriptMonitor.InjectMasterHandler |
monitorListeners| Constructor and Description |
|---|
ScriptMonitor(java.lang.String id,
java.lang.String factoryId,
java.util.concurrent.Executor executor,
BundleContext context,
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyPersistentInformation(PersistentInformation persistentInformation) |
DataItemValue |
dataUpdate(java.util.Map<java.lang.String,java.lang.Object> context,
DataItemValue.Builder builder) |
void |
dispose() |
protected void |
evaluate(java.util.Map<java.lang.String,DataItemValue> values) |
protected void |
handleChange(java.util.Map<java.lang.String,DataSourceHandler> sources) |
protected void |
notifyStateChange(MonitorStatusInformation state) |
protected void |
setFailure(Variant value,
java.lang.Long valueTimestamp,
Severity severity,
boolean requireAck) |
void |
update(UserInformation userInformation,
java.util.Map<java.lang.String,java.lang.String> properties) |
nodeChanged, setDataStore, storePersistentInformationakn, buildMonitorAttributes, createEvent, getCurrentState, injectEventAttributes, isSuppressEvents, sendEvent, sendEvent, sendEvent, setAttributes, setFailure, setInactive, setOk, setState, setStringAttributes, setSuppressEvents, setUnsafe, triggerFailureaddStatusListener, getId, intern, removeStatusListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStatusListener, akn, getId, removeStatusListenerpublic ScriptMonitor(java.lang.String id,
java.lang.String factoryId,
java.util.concurrent.Executor executor,
BundleContext context,
stringInterner,
EventProcessor eventProcessor,
dataSourcePoolTracker,
masterItemPoolTracker,
caTracker)
public void dispose()
dispose in interface DataItemMonitordispose in class AbstractPersistentStateMonitorprotected void notifyStateChange(MonitorStatusInformation state)
notifyStateChange in class AbstractMonitorServiceprotected void applyPersistentInformation(PersistentInformation persistentInformation)
applyPersistentInformation in class AbstractStateMonitorpublic void update(UserInformation userInformation,
java.util.Map<java.lang.String,java.lang.String> properties)
throws java.lang.Exception
java.lang.Exceptionpublic DataItemValue dataUpdate(java.util.Map<java.lang.String,java.lang.Object> context, DataItemValue.Builder builder)
protected void handleChange(java.util.Map<java.lang.String,DataSourceHandler> sources)
protected void evaluate(java.util.Map<java.lang.String,DataItemValue> values)
protected void setFailure(Variant value,
java.lang.Long valueTimestamp,
Severity severity,
boolean requireAck)
setFailure in class AbstractStateMonitor
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0