public class LevelMonitor extends AbstractNumericMonitor
masterItemmonitorListeners| Constructor and Description |
|---|
LevelMonitor(BundleContext context,
java.util.concurrent.Executor executor,
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getDefaultHandlerPriority() |
protected void |
handleConfigUpdate(java.util.Map<java.lang.String,java.lang.String> configUpdate,
java.util.Map<java.lang.String,Variant> attributes,
WriteAttributeResults result) |
protected void |
injectAttributes(DataItemValue.Builder builder)
Inject attributes to the value after the value update has been performed
using
#performDataUpdate(Builder) |
protected void |
performNumericUpdate(DataItemValue.Builder builder,
java.lang.Number value) |
void |
update(UserInformation userInformation,
java.util.Map<java.lang.String,java.lang.String> properties) |
performValueUpdateperformDataUpdatehandleDataUpdate, setFailureakn, applyPersistentInformation, dispose, getConfigurationId, getFactoryId, getPrefix, injectEventAttributes, notifyStateChange, reprocess, setPrefixnodeChanged, setDataStore, storePersistentInformationbuildMonitorAttributes, createEvent, getCurrentState, 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, getId, removeStatusListenerpublic LevelMonitor(BundleContext context,
java.util.concurrent.Executor executor,
stringInterner,
poolTracker,
EventProcessor eventProcessor,
java.lang.String id,
java.lang.String prefix,
java.lang.String defaultMonitorType)
protected int getDefaultHandlerPriority()
getDefaultHandlerPriority in class AbstractMasterItemMonitorprotected void performNumericUpdate(DataItemValue.Builder builder, java.lang.Number value)
performNumericUpdate in class AbstractNumericMonitorpublic void update(UserInformation userInformation,
java.util.Map<java.lang.String,java.lang.String> properties)
throws java.lang.Exception
update in interface DataItemMonitorupdate in class AbstractDemotingMasterItemMonitorjava.lang.Exceptionprotected void injectAttributes(DataItemValue.Builder builder)
AbstractMasterItemMonitor#performDataUpdate(Builder)injectAttributes in class AbstractMasterItemMonitorbuilder - the builder to use for changing informationprotected void handleConfigUpdate(java.util.Map<java.lang.String,java.lang.String> configUpdate,
java.util.Map<java.lang.String,Variant> attributes,
WriteAttributeResults result)
handleConfigUpdate in class AbstractMasterItemMonitor
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