Kieker 1.4

kieker.monitoring.writer.jmx
Class JMXWriter

java.lang.Object
  extended by kieker.monitoring.writer.AbstractMonitoringWriter
      extended by kieker.monitoring.writer.jmx.JMXWriter
All Implemented Interfaces:
IMonitoringRecordReceiver, IMonitoringWriter

public final class JMXWriter
extends AbstractMonitoringWriter

Author:
Jan Waller

Field Summary
static String CONFIG_DOMAIN
           
static String CONFIG_LOGNAME
           
 
Constructor Summary
JMXWriter(Configuration configuration)
           
 
Method Summary
 boolean newMonitoringRecord(IMonitoringRecord record)
          Called for each new record.
 void terminate()
          Called by the Monitoring Controller to announce a shutdown of monitoring.
 
Methods inherited from class kieker.monitoring.writer.AbstractMonitoringWriter
getConfiguration, setController, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONFIG_DOMAIN

public static final String CONFIG_DOMAIN

CONFIG_LOGNAME

public static final String CONFIG_LOGNAME
Constructor Detail

JMXWriter

public JMXWriter(Configuration configuration)
Method Detail

newMonitoringRecord

public boolean newMonitoringRecord(IMonitoringRecord record)
Description copied from interface: IMonitoringRecordReceiver
Called for each new record. Notice, that this method should not throw an exception, but indicate an error by the return value false.

Specified by:
newMonitoringRecord in interface IMonitoringRecordReceiver
Specified by:
newMonitoringRecord in interface IMonitoringWriter
Specified by:
newMonitoringRecord in class AbstractMonitoringWriter
Parameters:
record - the record.
Returns:
true on success; false in case of an error.

terminate

public void terminate()
Description copied from interface: IMonitoringWriter
Called by the Monitoring Controller to announce a shutdown of monitoring. Writers should return as soon as it is safe to terminate Kieker.

Specified by:
terminate in interface IMonitoringWriter
Specified by:
terminate in class AbstractMonitoringWriter

Kieker 1.4

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net