SimulationMetrics
- java.lang.Object
-
- com.fico.xpress.simulation.metrics.SimulationMetrics
-
-
Constructor Summary
Constructor Description SimulationMetrics(io.micrometer.core.instrument.composite.CompositeMeterRegistry meterRegistry)
-
Method Summary
Modifier and Type Method Description io.micrometer.core.instrument.TimergetAppStartUp()io.micrometer.core.instrument.composite.CompositeMeterRegistrygetRegistry()This method can be used to retrieve the metrics registryvoidinit()StringprettyPrint()io.micrometer.core.instrument.Timer.SamplestartTimer()This method can be used to create and start a new timer.StringtoJSON()Export all timers produced by the application in a JSON string.
-
-
-
Method Detail
-
init
public void init()
-
getAppStartUp
public io.micrometer.core.instrument.Timer getAppStartUp()
-
toJSON
@Unstable public String toJSON()
Export all timers produced by the application in a JSON string.- Returns:
- A JSON string
-
getRegistry
public io.micrometer.core.instrument.composite.CompositeMeterRegistry getRegistry()
This method can be used to retrieve the metrics registry- Returns:
- The registry that is used by this instance
-
startTimer
public io.micrometer.core.instrument.Timer.Sample startTimer()
This method can be used to create and start a new timer.- Returns:
- The newly created timer.
-
-
© 2001-2022 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
