public interface ApplicationStatistics
snapshot() should be used.See MonitoringStatistics class for general details about statistics.| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.