Class JmxHotspotTimerSet
- java.lang.Object
-
- com.google.apphosting.runtime.timer.AbstractSharedTimerSet
-
- com.google.apphosting.runtime.timer.JmxHotspotTimerSet
-
- All Implemented Interfaces:
TimerSet
public class JmxHotspotTimerSet extends AbstractSharedTimerSet
JmxHotspotTimerSetcreates timers that measures the amount of time spent in Hotspot compilation while each timer was running.
-
-
Constructor Summary
Constructors Constructor Description JmxHotspotTimerSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longgetCurrentShared()Returns the current value of a counter that is shared by all timers created by callingAbstractSharedTimerSet.createTimer()on this instance.protected StringgetTitle()Implementations should provide a short, readable string to be included in thetoString()output of the timers that they create (e.g.-
Methods inherited from class com.google.apphosting.runtime.timer.AbstractSharedTimerSet
createTimer, getActiveCount
-
-
-
-
Method Detail
-
getCurrentShared
protected long getCurrentShared()
Description copied from class:AbstractSharedTimerSetReturns the current value of a counter that is shared by all timers created by callingAbstractSharedTimerSet.createTimer()on this instance. The rate of change of this counter will be evenly divided among startedTimerinstances.- Specified by:
getCurrentSharedin classAbstractSharedTimerSet
-
getTitle
protected String getTitle()
Description copied from class:AbstractSharedTimerSetImplementations should provide a short, readable string to be included in thetoString()output of the timers that they create (e.g. "hotspot").- Specified by:
getTitlein classAbstractSharedTimerSet
-
-