|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationStatistics
Monitoring statistics and configuration of an application.
Statistics retrieved from Jersey runtime might be mutable and thanks to it might provide inconsistent data as not all statistics are updated in the same time. To retrieve the immutable and consistent statistics data the methodsnapshot() should be used.
See MonitoringStatistics class for general details about statistics.| Method Summary | |
|---|---|
Date |
getDestroyTime()
Get the time when application destroy (stop) has been finished. |
Set<Class<?>> |
getProviders()
Get registered providers available in the runtime. |
Set<Class<?>> |
getRegisteredClasses()
Get resource classes registered by the user in the current application. |
Set<Object> |
getRegisteredInstances()
Get resource instances registered by the user in the current application. |
ResourceConfig |
getResourceConfig()
Get the resource config. |
Date |
getStartTime()
Get the start time of the application. |
ApplicationStatistics |
snapshot()
Get the immutable consistent snapshot of the monitoring statistics. |
| Method Detail |
|---|
ResourceConfig getResourceConfig()
Date getStartTime()
Date getDestroyTime()
Set<Class<?>> getRegisteredClasses()
ModelProcessor.
User resources are resources that
were explicitly registered by the configuration, discovered by the class path scanning or that
constructs explicitly registered programmatic resource.
Set<Object> getRegisteredInstances()
ModelProcessor.
User resources are resources that
were explicitly registered by the configuration, discovered by the class path scanning or that
constructs explicitly registered programmatic resource.
Set<Class<?>> getProviders()
filters,
reader and writer
interceptors which are explicitly registered by configuration, or annotated by
@Provider or registered in META-INF/services. The
set does not include providers that are by default built in Jersey.
ApplicationStatistics snapshot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||