protected static interface AgentBuilder.Default.WarmupStrategy
ClassFileTransformer before using it to eagerly load classes and to avoid
circularity errors when classes are loaded during actual transformation for the first time.| Modifier and Type | Interface and Description |
|---|---|
static class |
AgentBuilder.Default.WarmupStrategy.Enabled
An enabled warmup strategy.
|
static class |
AgentBuilder.Default.WarmupStrategy.NoOp
A non-operational warmup strategy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ResettableClassFileTransformer classFileTransformer,
AgentBuilder.LocationStrategy locationStrategy,
AgentBuilder.RedefinitionStrategy redefinitionStrategy,
AgentBuilder.CircularityLock circularityLock,
AgentBuilder.InstallationListener listener)
Applies this warm up strategy.
|
AgentBuilder.Default.WarmupStrategy |
with(Collection<Class<?>> types)
Adds the provided types to this warmup strategy.
|
void apply(ResettableClassFileTransformer classFileTransformer, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.CircularityLock circularityLock, AgentBuilder.InstallationListener listener)
classFileTransformer - The class file transformer to warm up.locationStrategy - The location strategy to use.redefinitionStrategy - The redefinition strategy being used.circularityLock - The circularity lock to use.listener - The listener to notify over warmup events.AgentBuilder.Default.WarmupStrategy with(Collection<Class<?>> types)
types - The types to add.Copyright © 2014–2025. All rights reserved.