public static interface AgentBuilder.RedefinitionListenable extends AgentBuilder
Modifier and Type | Interface and Description |
---|---|
static interface |
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher
A matcher that determines if types should be resubmitted if it is not yet loaded.
|
static interface |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher
A matcher that determines if types should be resubmitted if it is not yet loaded and if an exception is raised.
|
static interface |
AgentBuilder.RedefinitionListenable.WithImplicitDiscoveryStrategy
An agent builder configuration strategy that allows the definition of a discovery strategy.
|
static interface |
AgentBuilder.RedefinitionListenable.WithoutBatchStrategy
An agent builder configuration that allows the configuration of a batching strategy.
|
static interface |
AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecification
An
AgentBuilder specification that requires a resubmission specification. |
static interface |
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification
A complete but extendable resubmission specification.
|
AgentBuilder.CircularityLock, AgentBuilder.ClassFileBufferStrategy, AgentBuilder.Default, AgentBuilder.DescriptionStrategy, AgentBuilder.FallbackStrategy, AgentBuilder.Identified, AgentBuilder.Ignored, AgentBuilder.InitializationStrategy, AgentBuilder.InjectionStrategy, AgentBuilder.InstallationListener, AgentBuilder.LambdaInstrumentationStrategy, AgentBuilder.Listener, AgentBuilder.LocationStrategy, AgentBuilder.Matchable<T extends AgentBuilder.Matchable<T>>, AgentBuilder.PatchMode, AgentBuilder.PoolStrategy, AgentBuilder.RawMatcher, AgentBuilder.RedefinitionListenable, AgentBuilder.RedefinitionStrategy, AgentBuilder.Transformer, AgentBuilder.TransformerDecorator, AgentBuilder.TypeStrategy
Modifier and Type | Method and Description |
---|---|
AgentBuilder.RedefinitionListenable |
with(AgentBuilder.RedefinitionStrategy.Listener redefinitionListener)
A redefinition listener is invoked before each batch of type redefinitions and on every error as well as
after the redefinition was completed.
|
AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecification |
withResubmission(AgentBuilder.RedefinitionStrategy.ResubmissionScheduler resubmissionScheduler)
Specifies resubmission for given unloaded types or types that fail upon an exception during instrumentation.
|
assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeTo, assureReadEdgeTo, assureReadEdgeTo, disableClassFormatChanges, disableNativeMethodPrefix, enableNativeMethodPrefix, ignore, ignore, ignore, ignore, installOn, installOnByteBuddyAgent, makeRaw, patchOn, patchOn, patchOn, patchOn, patchOnByteBuddyAgent, patchOnByteBuddyAgent, type, type, type, type, warmUp, warmUp, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with
AgentBuilder.RedefinitionListenable with(AgentBuilder.RedefinitionStrategy.Listener redefinitionListener)
A redefinition listener is invoked before each batch of type redefinitions and on every error as well as after the redefinition was completed. A redefinition listener can be used for debugging or logging purposes and to apply actions between each batch, e.g. to pause or wait in order to avoid rendering the current VM non-responsive if a lot of classes are redefined.
Adding several listeners does not replace previous listeners but applies them in the registration order.
redefinitionListener
- The listener to register.AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecification withResubmission(AgentBuilder.RedefinitionStrategy.ResubmissionScheduler resubmissionScheduler)
resubmissionScheduler
- The resubmission scheduler to use.Copyright © 2014–2023. All rights reserved.