public class InstrumentationManagerImpl extends Object implements InstrumentationManager
| Modifier and Type | Field and Description |
|---|---|
Set<InstrumentationProvider> |
_providers |
| Constructor and Description |
|---|
InstrumentationManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stops all providers
|
Set<InstrumentationProvider> |
getProviders()
Returns all providers as an unmodifiable set
|
void |
initialize(OpenJPAConfiguration conf,
PluginListValue pluginVal)
Initializes all providers defined for the specified configuration.
|
void |
manageProvider(InstrumentationProvider provider)
Make a provider managed.
|
void |
start(InstrumentationLevel level,
Object context)
Starts all providers at a specific level and context
|
void |
stop(InstrumentationLevel level,
Object context)
Stops all providers at a specific level and context
|
public Set<InstrumentationProvider> _providers
public void initialize(OpenJPAConfiguration conf, PluginListValue pluginVal)
initialize in interface InstrumentationManagerconf - the configuration to use for initializationpluginVal - one or more providers as supplied via plugin list valuepublic void manageProvider(InstrumentationProvider provider)
manageProvider in interface InstrumentationManagerprovider - the instrumentation providerpublic Set<InstrumentationProvider> getProviders()
getProviders in interface InstrumentationManagerpublic void start(InstrumentationLevel level, Object context)
start in interface InstrumentationManagerlevel - instrumentation levelcontext - instrumentation context (broker, factory, config,...)public void stop(InstrumentationLevel level, Object context)
stop in interface InstrumentationManagercontext - instrumentation context (broker, factory, config,...)Copyright © 2006–2020 Apache Software Foundation. All rights reserved.