Uses of Class
net.obvj.performetrics.ConversionMode
-
Packages that use ConversionMode Package Description net.obvj.performetrics Provides convenient classes for extracting performance metrics of Java code.net.obvj.performetrics.config Provides classes to handle common configuration parameters used by Performetrics. -
-
Uses of ConversionMode in net.obvj.performetrics
Methods in net.obvj.performetrics that return ConversionMode Modifier and Type Method Description ConversionModeCounter. getConversionMode()Returns theConversionModeassociated with this counter.static ConversionModeConversionMode. valueOf(String name)Returns the enum constant of this type with the specified name.static ConversionMode[]ConversionMode. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.obvj.performetrics with parameters of type ConversionMode Modifier and Type Method Description doubleCounter. elapsedTime(TimeUnit timeUnit, ConversionMode conversionMode)Returns the elapsed time, in a givenTimeUnit, with a customConversionMode.doubleTimingSession. elapsedTime(Counter.Type type, TimeUnit timeUnit, ConversionMode conversionMode)A convenient method that returns the elapsed time of a specific counter, in the specified time unit, by applying a customConversionMode.doubleTimingSessionContainer. elapsedTime(TimeUnit timeUnit, ConversionMode conversionMode)Returns the total elapsed time in the specified time unit for a single counter type, provided that this object is keeping a single type.doubleTimingSessionContainer. elapsedTime(Counter.Type type, TimeUnit timeUnit, ConversionMode conversionMode)Returns the total elapsed time for a specific counter type, in the specified time unit, with a customConversionModeapplied.doubleUnmodifiableCounter. elapsedTime(TimeUnit timeUnit, ConversionMode conversionMode)doubleUnmodifiableTimingSession. elapsedTime(Counter.Type type, TimeUnit timeUnit, ConversionMode conversionMode)static voidPerformetrics. setDefaultConversionMode(ConversionMode conversionMode)Sets a conversion mode to be applied by supported operations if no specific mode is set.Constructors in net.obvj.performetrics with parameters of type ConversionMode Constructor Description Counter(Counter.Type type, ConversionMode conversionMode)Builds a Counter with the given type, time unit, and conversion mode. -
Uses of ConversionMode in net.obvj.performetrics.config
Methods in net.obvj.performetrics.config that return ConversionMode Modifier and Type Method Description ConversionModeConfiguration. getConversionMode()Returns the conversion mode applied in supported operations if no specific mode is set.Methods in net.obvj.performetrics.config with parameters of type ConversionMode Modifier and Type Method Description voidConfiguration. setConversionMode(ConversionMode conversionMode)Defines the default conversion mode to be applied in supported operations if no specific mode is set.
-