Class WriterController

java.lang.Object
kieker.monitoring.core.controller.AbstractController
kieker.monitoring.core.controller.WriterController
All Implemented Interfaces:
IMonitoringRecordReceiver, IWriterController

public final class WriterController
extends AbstractController
implements IWriterController
Since:
1.3
Author:
Andre van Hoorn, Matthias Rohr, Jan Waller, Robert von Massow
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String PREFIX  
    static java.lang.String QUEUE_PUT_STRATEGY
    The fully qualified name of the put strategy
    static java.lang.String QUEUE_TAKE_STRATEGY
    The fully qualified name of the take strategy
    static java.lang.String RECORD_QUEUE_FQN
    The fully qualified name of the queue to be used for the records.
    static java.lang.String RECORD_QUEUE_INSERT_BEHAVIOR
    The name of the configuration determining the insert behavior to the queue of the writer.
    static java.lang.String RECORD_QUEUE_SIZE
    The name of the configuration determining the size of the queue of this writer.

    Fields inherited from class kieker.monitoring.core.controller.AbstractController

    monitoringController
  • Constructor Summary

    Constructors 
    Constructor Description
    WriterController​(Configuration configuration)
    Creates a new instance of this class using the given parameters.
  • Method Summary

    Modifier and Type Method Description
    protected void cleanup()
    This method should clean up.
    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()  
    void waitForTermination​(long timeoutInMs)
    Waits for the termination of the monitoring controller.

    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