@Internal @ParametersAreNonnullByDefault public interface AtlassianInstrumentationControl
|Modifier and Type||Method and Description|
Resets the supplier of
Provide a new supplier of
void setOpTimerFactorySupplier(com.atlassian.util.concurrent.Supplier<com.atlassian.instrumentation.operations.OpTimerFactory> opTimerFactorySupplier)
OpTimerFactoryinstances to be used by the monitoring implementation. Callers should ensure that monitoring is currently disabled before calling this, or the operation will fail.
opTimerFactorySupplier- a supplier of OpTimerFactory instances to be used
IllegalStateException- if monitoring wasn't disabled when the call was made
OpTimerFactoryinstances used by the monitoring implementation back to the default. Callers should ensure that monitoring is currently disabled before calling this, or the operation will fail.
Copyright © 2003–2017 Atlassian. All rights reserved.