@PublicApi public class InstrumentationExecutionStrategyParameters extends java.lang.Object
Instrumentation
methodsConstructor and Description |
---|
InstrumentationExecutionStrategyParameters(ExecutionContext executionContext,
ExecutionStrategyParameters executionStrategyParameters) |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
getExecutionContext() |
ExecutionStrategyParameters |
getExecutionStrategyParameters() |
<T extends InstrumentationState> |
getInstrumentationState()
Deprecated.
state is now passed in direct to instrumentation methods
|
InstrumentationExecutionStrategyParameters |
withNewState(InstrumentationState instrumentationState)
Deprecated.
state is now passed in direct to instrumentation methods
|
public InstrumentationExecutionStrategyParameters(ExecutionContext executionContext, ExecutionStrategyParameters executionStrategyParameters)
@Deprecated public InstrumentationExecutionStrategyParameters withNewState(InstrumentationState instrumentationState)
instrumentationState
- the new state for this parameters objectpublic ExecutionContext getExecutionContext()
public ExecutionStrategyParameters getExecutionStrategyParameters()
@Deprecated public <T extends InstrumentationState> T getInstrumentationState()
Instrumentation.createState(InstrumentationCreateStateParameters)
but now
to save object allocations, the state is passed directly into instrumentation methodsT
- for twoInstrumentation.createState(InstrumentationCreateStateParameters)