Enum Class Stat
- All Implemented Interfaces:
Serializable,Comparable<Stat>,Constable
Guicey metrics collected at startup.
- Since:
- 27.07.2016
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCount of bindings from registered modules which were analyzed for extensions.Time of parsed bindings analysis.Count of elements found in user modules (note that element is wider then binding and include listeners and other configurations).Guice SPI time of modules elements resolution (part ofModulesProcessingTime).Time of bundle configuration.Bundles resolution time only (lookup mechanism).Bundles resolution, creation, initialization and run time (combined from both configuration and run phases).Commands processing time.Time of configuration object parsing (to bind later by value).Guicey time in dropwizard configuration phase.Initialization time of registered dropwizard bundles.Time spent installing extensions with registered installers.Time spent on extensions resolution (matching all extension classes with configured installers ).Initialization time of registered guicey bundles.Time of guicey bundles run execution.Overall guicey startup time (including configuration, run and jersey parts).Hooks resolution and processing time.Guice injector creation time.Installers search and instantiation time.Installers resolution, instantiation and execution time.Time spent byJerseyInstallerto install jersey related features.Guicey initialization time inside jersey context.Guicey listeners execution time.Modules pre processing time (include Aware* interfaces processing and bindings analysis).Timer started in time of guice bundle creation for measuring entire application startup time (used for measuring time since startup).Removed configuration elements count.Count of removed inner guice modules.Guicey time in dropwizard run phase (without jersey time).Count of classes loaded during classpath scan.Classpath scan time (time to resolve all classes from configured packages). -
Method Summary
-
Enum Constant Details
-
OverallTime
Timer started in time of guice bundle creation for measuring entire application startup time (used for measuring time since startup). -
GuiceyTime
Overall guicey startup time (including configuration, run and jersey parts). All other timers represents this timer detalization. -
ConfigurationTime
Guicey time in dropwizard configuration phase. Part ofGuiceyTime. -
BundleBuilderTime
Time of bundle configuration. Part ofConfigurationTime -
HooksTime
Hooks resolution and processing time. Part ofConfigurationTime. -
CommandTime
Commands processing time. Includes environment commands members injection (always performed) and commands registration from classpath scan (disabled by default). Part ofConfigurationTimeand a bit ofRunTime(fields initialization). -
ScanTime
Classpath scan time (time to resolve all classes from configured packages). Part ofConfigurationTime. -
ScanClassesCount
Count of classes loaded during classpath scan. -
BundleTime
Bundles resolution, creation, initialization and run time (combined from both configuration and run phases). Also includes dropwizard bundles initialization time (for bundles registered through guicey api). -
BundleResolutionTime
Bundles resolution time only (lookup mechanism). Part ofBundleTime. -
DropwizardBundleInitTime
Initialization time of registered dropwizard bundles. Part ofBundleTime. -
GuiceyBundleInitTime
Initialization time of registered guicey bundles. Part ofBundleTime. -
InstallersTime
Installers resolution, instantiation and execution time. Contains time from both initialization and run phases. -
InstallersResolutionTime
Installers search and instantiation time. Part ofInstallersTime. -
ExtensionsRecognitionTime
Time spent on extensions resolution (matching all extension classes with configured installers ). Does not contain classpath scan time, because already use cached scan result (actual scan performed before initializations). Part ofInstallersTime. -
ListenersTime
Guicey listeners execution time. -
RunTime
Guicey time in dropwizard run phase (without jersey time). Part ofGuiceyTime. -
ConfigurationAnalysis
Time of configuration object parsing (to bind later by value). Part ofRunTime. -
GuiceyBundleRunTime
Time of guicey bundles run execution. Part ofBundleTimeandRunTime. -
ModulesProcessingTime
Modules pre processing time (include Aware* interfaces processing and bindings analysis). Also includes part ofExtensionsRecognitionTime. Part ofRunTime. -
BindingsCount
Count of elements found in user modules (note that element is wider then binding and include listeners and other configurations). Not all these elements were analyzed because only pure class bindings are checked. -
AnalyzedBindingsCount
Count of bindings from registered modules which were analyzed for extensions. As analysis may be switched off byGuiceyOptions.AnalyzeGuiceModules, this counter indicates if analysis was performed or not. -
RemovedBindingsCount
Removed configuration elements count. It may be disabled extension or entire inner module (all binding, related to this module are removed). -
RemovedInnerModules
Count of removed inner guice modules. Usual disable module may declare any inner guice module and all bindings related to this module will be removed. Counter shows only how many disabled module types were affected. -
BindingsResolutionTime
Guice SPI time of modules elements resolution (part ofModulesProcessingTime). When bindings inspection is disabled withGuiceyOptions.AnalyzeGuiceModules, this stat will be 0, but injector creation time will increase accordingly because guice will have to do the same (InjectorCreationTime). -
BindingsAnalysisTime
Time of parsed bindings analysis. Part ofExtensionsRecognitionTime. -
InjectorCreationTime
Guice injector creation time. Part ofRunTime. -
ExtensionsInstallationTime
Time spent installing extensions with registered installers. Part ofRunTime. -
JerseyTime
Guicey initialization time inside jersey context. Jersey is started only when server command used (after guice context startup and so out of scope of guice bundle execution). Part ofGuiceyTime. -
JerseyInstallerTime
Time spent byJerseyInstallerto install jersey related features. Part ofJerseyTime.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isTimer
public boolean isTimer()- Returns:
- true is timer stat, false otherwise
-
requiresTimer
public void requiresTimer()- Throws:
IllegalStateException- is current stat is not timer
-
requiresCounter
public void requiresCounter()- Throws:
IllegalStateException- is current stat is not counter stat
-