de.is24.util.monitoring
Class PerfTimer.PerfMonitor

java.lang.Object
  extended by de.is24.util.monitoring.PerfTimer
      extended by de.is24.util.monitoring.PerfTimer.DefaultPerfTimer
          extended by de.is24.util.monitoring.PerfTimer.PerfMonitor
Enclosing class:
PerfTimer

public static final class PerfTimer.PerfMonitor
extends PerfTimer.DefaultPerfTimer

A timer providing an interface for submitting measurements to InApplicationMonitor. Simply call monitor(String) to submit the measurement.

Author:
Stefan Schubert, IT-E, IS24

Nested Class Summary
 
Nested classes/interfaces inherited from class de.is24.util.monitoring.PerfTimer
PerfTimer.PerfMonitor
 
Field Summary
 
Fields inherited from class de.is24.util.monitoring.PerfTimer.DefaultPerfTimer
start
 
Constructor Summary
protected PerfTimer.PerfMonitor()
           
 
Method Summary
(package private) static PerfTimer.PerfMonitor create()
           
 void handleMeasurement(String monitorName, MeasurementHandler... handlers)
           
 void monitor(String... monitorNames)
          Deprecated. use handleMeasurement instead
 
Methods inherited from class de.is24.util.monitoring.PerfTimer.DefaultPerfTimer
measure
 
Methods inherited from class de.is24.util.monitoring.PerfTimer
create, createDebugTimer, createInfoTimer, createMonitor, createTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerfTimer.PerfMonitor

protected PerfTimer.PerfMonitor()
Method Detail

create

static PerfTimer.PerfMonitor create()

monitor

@Deprecated
public void monitor(String... monitorNames)
Deprecated. use handleMeasurement instead

Performs a measurement and submits the result to the InApplicationMonitor using the specified monitor name(s).

Parameters:
monitorNames - the keys where monitoring results for a class of measurements can be looked up.

handleMeasurement

public void handleMeasurement(String monitorName,
                              MeasurementHandler... handlers)


Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.