Package psiprobe.beans.stats.collectors
Class RuntimeStatsCollectorBean
- java.lang.Object
-
- psiprobe.beans.stats.collectors.AbstractStatsCollectorBean
-
- psiprobe.beans.stats.collectors.RuntimeStatsCollectorBean
-
public class RuntimeStatsCollectorBean extends AbstractStatsCollectorBean
The Class RuntimeStatsCollectorBean.
-
-
Field Summary
Fields Modifier and Type Field Description private RuntimeInfoAccessorBean
runtimeInfoAccessorBean
The runtime info accessor bean.
-
Constructor Summary
Constructors Constructor Description RuntimeStatsCollectorBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collect()
Collect.RuntimeInfoAccessorBean
getRuntimeInfoAccessorBean()
Gets the runtime info accessor bean.void
setMaxSeries(long period, long span)
Sets the max series expression.void
setRuntimeInfoAccessorBean(RuntimeInfoAccessorBean runtimeInfoAccessorBean)
Sets the runtime info accessor bean.-
Methods inherited from class psiprobe.beans.stats.collectors.AbstractStatsCollectorBean
buildAbsoluteStats, buildAbsoluteStats, buildDeltaStats, buildDeltaStats, buildTimePercentageStats, getListeners, getMaxSeries, getStatsCollection, resetStats, setListeners, setMaxSeries, setStatsCollection
-
-
-
-
Field Detail
-
runtimeInfoAccessorBean
@Inject private RuntimeInfoAccessorBean runtimeInfoAccessorBean
The runtime info accessor bean.
-
-
Method Detail
-
getRuntimeInfoAccessorBean
public RuntimeInfoAccessorBean getRuntimeInfoAccessorBean()
Gets the runtime info accessor bean.- Returns:
- the runtime info accessor bean
-
setRuntimeInfoAccessorBean
public void setRuntimeInfoAccessorBean(RuntimeInfoAccessorBean runtimeInfoAccessorBean)
Sets the runtime info accessor bean.- Parameters:
runtimeInfoAccessorBean
- the new runtime info accessor bean
-
collect
public void collect() throws Exception
Description copied from class:AbstractStatsCollectorBean
Collect.- Specified by:
collect
in classAbstractStatsCollectorBean
- Throws:
Exception
- the exception
-
setMaxSeries
public void setMaxSeries(@Value("${psiprobe.beans.stats.collectors.runtime.period}") long period, @Value("${psiprobe.beans.stats.collectors.runtime.span}") long span)
Sets the max series expression.- Parameters:
period
- the periodspan
- the span
-
-