|
TPTP 4.2.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
org.eclipse.hyades.logging.adapter.impl.Outputter
org.eclipse.hyades.logging.adapter.outputters.CBELogOutputter
This outputter writes CommonBaseEvent's to a logging agent
| Field Summary |
|---|
| Fields inherited from class org.eclipse.hyades.logging.adapter.impl.ProcessUnit |
|---|
flushingMode |
| Fields inherited from class org.eclipse.hyades.logging.adapter.impl.Component |
|---|
logger, status, stopping |
| Constructor Summary | |
|---|---|
CBELogOutputter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAgentName()
Gets the name of the logging agent. |
int |
getBufferSize()
Gets the buffer size (i.e., the number of records buffered while the logging agent is not connected to the RAC). |
long |
getWaitTime()
Gets the logging agent wait time. |
java.lang.Object[] |
processEventItems(java.lang.Object[] msgs)
This implementation processes messages represented by an array of CommonBaseEvent objects where each CommonBaseEvent represents a message. |
void |
setAgentName(java.lang.String aName)
Sets the name of the logging agent to write to |
void |
setBufferSize(int bufSize)
Sets the buffer size of the logging agent (i.e., the number of records buffered while the logging agent is not connected to the RAC). |
void |
setWaitTime(long wTime)
Sets the logging agent wait time. |
void |
stop()
Stops the logging agent outputter which includes cleaning up the logging agent. |
java.lang.Object[] |
testProcessEventItems(java.lang.Object[] msgs)
Simulate processing messages as CommonBaseEvent objects. |
void |
update()
update the configuration based on the configuration Element |
| Methods inherited from class org.eclipse.hyades.logging.adapter.impl.ProcessUnit |
|---|
flushEventItems, getProperties, setProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.hyades.logging.adapter.IProcessUnit |
|---|
flushEventItems |
| Constructor Detail |
public CBELogOutputter()
| Method Detail |
public java.lang.Object[] processEventItems(java.lang.Object[] msgs)
processEventItems in interface IProcessUnitprocessEventItems in class ProcessUnitmsgs - - an array of CommonBaseEvent objects representing messages
IProcessUnit.processEventItems(java.lang.Object[])
public java.lang.Object[] testProcessEventItems(java.lang.Object[] msgs)
throws AdapterInvalidConfig
testProcessEventItems in interface IProcessUnittestProcessEventItems in class ProcessUnitmsgs - - array of Objects to process
AdapterInvalidConfigIProcessUnit.testProcessEventItems(java.lang.Object[])
public void update()
throws AdapterInvalidConfig
update in interface IComponentupdate in class OutputterAdapterInvalidConfigIComponent.update()public void setAgentName(java.lang.String aName)
aName - - the name of the logging agentpublic java.lang.String getAgentName()
public void setBufferSize(int bufSize)
bufSize - - logging agent buffer size.public int getBufferSize()
public void setWaitTime(long wTime)
wTime - - the logging agent wait timepublic long getWaitTime()
public void stop()
stop in interface IComponentstop in class ComponentIComponent.stop()
|
TPTP 4.2.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||