|
Kieker 1.11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.monitoring.core.controller.AbstractController
kieker.monitoring.core.controller.WriterController
public final class WriterController
| Field Summary |
|---|
| Fields inherited from class kieker.monitoring.core.controller.AbstractController |
|---|
monitoringController |
| Constructor Summary | |
|---|---|
WriterController(Configuration configuration)
Creates a new instance of this class using the given parameters. |
|
| Method Summary | |
|---|---|
protected void |
cleanup()
This method should clean up. |
long |
getNumberOfInserts()
Shows how many inserts have been performed since last restart of the execution environment. |
protected void |
init()
This method should to the initialization work. |
boolean |
newMonitoringRecord(IMonitoringRecord record)
Called for each new record to write it out to the pre-configured target (e.g., file system, database, or messaging queue). |
java.lang.String |
toString()
|
| Methods inherited from class kieker.monitoring.core.controller.AbstractController |
|---|
createAndInitialize, isTerminated, setMonitoringController, terminate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WriterController(Configuration configuration)
configuration - The configuration for the controller.| Method Detail |
|---|
protected final void init()
AbstractController
init in class AbstractControllerprotected final void cleanup()
AbstractController
cleanup in class AbstractControllerpublic final java.lang.String toString()
toString in class AbstractControllerpublic final boolean newMonitoringRecord(IMonitoringRecord record)
Called for each new record to write it out to the pre-configured target (e.g., file system, database, or messaging queue). This method could invoke the given
record's methods declared in IMonitoringRecord and thus alter its loggingTimestamp property.
Notice, that this method should not throw an exception, but indicate an error by the return value false.
newMonitoringRecord in interface IMonitoringRecordReceivernewMonitoringRecord in interface IWriterControllerrecord - the record.
public final long getNumberOfInserts()
getNumberOfInserts in interface IWriterController
|
Kieker 1.11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||