org.javasimon.spring.webmvc
Class HandlerStopwatchSource

java.lang.Object
  extended by org.javasimon.source.AbstractStopwatchSource<HandlerLocation>
      extended by org.javasimon.spring.webmvc.HandlerStopwatchSource
All Implemented Interfaces:
MonitorSource<HandlerLocation,Stopwatch>, StopwatchSource<HandlerLocation>

public class HandlerStopwatchSource
extends AbstractStopwatchSource<HandlerLocation>

Stopwatch source for Spring MVC handlers.

Author:
gquintana

Field Summary
private static String CONTROLLER_SUFFIX
          Suffix used for Simon names of Controllers.
private static String PREFIX
          Prefix used for Simon names.
private static String VIEW_SUFFIX
          Suffix used for Simon names of Views.
 
Constructor Summary
HandlerStopwatchSource(Manager manager)
           
 
Method Summary
protected  String getMonitorName(HandlerLocation t)
           
 
Methods inherited from class org.javasimon.source.AbstractStopwatchSource
getManager, getMonitor, isMonitored, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

private static final String PREFIX
Prefix used for Simon names.

See Also:
Constant Field Values

CONTROLLER_SUFFIX

private static final String CONTROLLER_SUFFIX
Suffix used for Simon names of Controllers.

See Also:
Constant Field Values

VIEW_SUFFIX

private static final String VIEW_SUFFIX
Suffix used for Simon names of Views.

See Also:
Constant Field Values
Constructor Detail

HandlerStopwatchSource

public HandlerStopwatchSource(Manager manager)
Method Detail

getMonitorName

protected String getMonitorName(HandlerLocation t)
Specified by:
getMonitorName in class AbstractStopwatchSource<HandlerLocation>


Copyright © 2013. All Rights Reserved.