|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.logging.adapter.impl.Component
org.eclipse.hyades.logging.adapter.impl.ProcessUnit
A generic process unit in the Generic Log Adapter run-time architecture.
| Field Summary | |
|---|---|
protected boolean |
flushingMode
|
| Fields inherited from class org.eclipse.hyades.logging.adapter.impl.Component |
|---|
logger, status, stopping |
| Constructor Summary | |
|---|---|
ProcessUnit()
|
|
| Method Summary | |
|---|---|
java.lang.Object[] |
flushEventItems(java.lang.Object[] msgs)
Flush event items. |
java.util.Hashtable |
getProperties()
Get the properties of this process unit. |
java.lang.Object[] |
processEventItems(java.lang.Object[] msgs)
Process event items. |
void |
setProperties(java.util.Hashtable hashtable)
Set the properties of this process unit. |
java.lang.Object[] |
testProcessEventItems(java.lang.Object[] msgs)
In order to avoid runtime failures a context should invoke this test method. |
void |
update()
Method update. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean flushingMode
| Constructor Detail |
public ProcessUnit()
| Method Detail |
public java.lang.Object[] processEventItems(java.lang.Object[] msgs)
processEventItems in interface IProcessUnitmsgs - - the input messages as an array of Objects
IProcessUnit.processEventItems(Object[])public java.lang.Object[] flushEventItems(java.lang.Object[] msgs)
flushEventItems in interface IProcessUnitmsgs - - the input messages as an array of Objects
IProcessUnit.flushEventItems(java.lang.Object[])
public java.lang.Object[] testProcessEventItems(java.lang.Object[] msgs)
throws AdapterInvalidConfig
IProcessUnit
testProcessEventItems in interface IProcessUnitmsgs - - the sample input messages as an array of Objects
AdapterInvalidConfig - exception if the wrong type of objects are passed inorg.eclipse.hyades.logging.adapter.IProcessUnit#processEventItem(Object[])
public void update()
throws AdapterInvalidConfig
IComponent
update in interface IComponentupdate in class ComponentAdapterInvalidConfigIComponent.update()public java.util.Hashtable getProperties()
public void setProperties(java.util.Hashtable hashtable)
hashtable - - Hashtable containing the properties of the process unit.
|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||