Class ProcessManagerGroupApplication
java.lang.Object
org.scictrl.csshell.epics.server.application.AbstractApplication
org.scictrl.csshell.epics.server.application.processmanager.ProcessManagerGroupApplication
- All Implemented Interfaces:
Application,OnDemandValueProcessor.ValueProvider
ProcessManagerGroupApplication class.
- Author:
- igor@scictrl.com
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstantCOMPLETION="Status:Completion"static final StringConstantCPU="CPU"static final StringConstantDESCRIPTION="Info:Description"static final StringConstantERROR="Status:Error"static final StringConstantERROR_MESSAGE="Status:ErrorMessage"static final StringConstantHOST="Info:Host"static final StringConstantMEM="MEM"static final StringConstantRUNNING="Status:Running"static final StringConstantSERVICE="Info:Service"static final StringConstantSTATE="Status:State"Fields inherited from class org.scictrl.csshell.epics.server.application.AbstractApplication
database, DEFAULT_NAME_DELIMITER, dynamicRecordCreator, ERROR_SUM, LINK_ERROR, LINK_ERROR_STRING, links, log, name, NAME_DELIMITER, nameDelimiter, records -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for ProcessManagerGroupApplication. -
Method Summary
Modifier and TypeMethodDescriptionvoidConfigures the internals of this application, provides reference to configuration with root inside applications tag.protected voidnotifyLinkChange(String name) This method is called whenever record value changed for any record, which belongs to this application (it was added to the applicationAbstractApplication.addRecord(String, Record)).voidSetter for the fielderror.Methods inherited from class org.scictrl.csshell.epics.server.application.AbstractApplication
activate, addRecord, addRecordOfCommandProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfOnDemandProcessor, addRecordOfOnLinkValueProcessor, configure, connectLinks, createNewStore, fullRecordName, getLinks, getName, getNameDelimiter, getNotNull, getRecord, getRecordErrorSum, getRecordLinkError, getRecordNames, getRecords, getStore, getStore, getValue, initialize, isActivated, isDynamicRecordCreator, log4debug, log4error, log4error, log4info, notifyRecordChange, notifyRecordWrite, processLinkChange, pushDoneCommandProcessor, reconnectLinks, resetOnDemandProcessor, restore, store, toString, updateErrorSum, updateErrorSum, updateLinkError, updateLinkError
-
Field Details
-
ERROR
ConstantERROR="Status:Error"- See Also:
-
RUNNING
ConstantRUNNING="Status:Running"- See Also:
-
ERROR_MESSAGE
ConstantERROR_MESSAGE="Status:ErrorMessage"- See Also:
-
STATE
ConstantSTATE="Status:State"- See Also:
-
COMPLETION
ConstantCOMPLETION="Status:Completion"- See Also:
-
HOST
ConstantHOST="Info:Host"- See Also:
-
SERVICE
ConstantSERVICE="Info:Service"- See Also:
-
DESCRIPTION
ConstantDESCRIPTION="Info:Description"- See Also:
-
CPU
ConstantCPU="CPU"- See Also:
-
MEM
ConstantMEM="MEM"- See Also:
-
-
Constructor Details
-
ProcessManagerGroupApplication
public ProcessManagerGroupApplication()Constructor for ProcessManagerGroupApplication.
-
-
Method Details
-
configure
public void configure(String name, org.apache.commons.configuration.HierarchicalConfiguration config) Configures the internals of this application, provides reference to configuration with root inside applications tag. Server structure is not yet initialized, so does not have reference to Database, the Database reference will be available during activate call.- Specified by:
configurein interfaceApplication- Overrides:
configurein classAbstractApplication- Parameters:
name- aStringobjectconfig- configuration with room inside application tag.
-
setError
Setter for the field
error.- Parameters:
error- a booleancompletion- aStringobject
-
notifyLinkChange
This method is called whenever record value changed for any record, which belongs to this application (it was added to the applicationAbstractApplication.addRecord(String, Record)). Implementation class should override this method to intercept the update.- Overrides:
notifyLinkChangein classAbstractApplication- Parameters:
name- the name of record, that triggered change.
-