public interface InstrumentationManager extends Closeable
Modifier and Type | Method and Description |
---|---|
Set<InstrumentationProvider> |
getProviders()
Returns all providers managed by this manager.
|
void |
initialize(OpenJPAConfiguration conf,
PluginListValue providers)
Used to initialize one or more providers using the supplied configuration.
|
void |
manageProvider(InstrumentationProvider provider)
Manage a given provider.
|
void |
start(InstrumentationLevel level,
Object context)
Starts all instruments for all managed providers for a given level
and context.
|
void |
stop(InstrumentationLevel broker,
Object context)
Stops all instruments for all managed providers for a given level
and context.
|
void initialize(OpenJPAConfiguration conf, PluginListValue providers)
conf
- the configuration to use for initializationproviders
- one or more providers as supplied via plugin list valuevoid manageProvider(InstrumentationProvider provider)
provider
- the instrumentation providervoid start(InstrumentationLevel level, Object context)
level
- instrumentation levelcontext
- instrumentation context (broker, factory, config,...)void stop(InstrumentationLevel broker, Object context)
level
- instrumentation levelcontext
- instrumentation context (broker, factory, config,...)Set<InstrumentationProvider> getProviders()
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.