protected static class AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition.Chunked extends AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition
AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition.Chunked, AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition.Cumulative, AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition.Entry
AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition, AgentBuilder.RedefinitionStrategy.Collector.ForRetransformation
entries, transformation
Modifier | Constructor and Description |
---|---|
protected |
Chunked(AgentBuilder.Default.Transformation transformation)
Creates a new chunked redefinition collector.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doApply(Instrumentation instrumentation,
List<ClassDefinition> classDefinitions)
Applies a redefinition.
|
String |
toString() |
apply, consider
protected Chunked(AgentBuilder.Default.Transformation transformation)
transformation
- The transformation of the built agent.protected void doApply(Instrumentation instrumentation, List<ClassDefinition> classDefinitions) throws UnmodifiableClassException, ClassNotFoundException
AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition
doApply
in class AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition
instrumentation
- The instrumentation instance to use.classDefinitions
- The class definitions to apply.UnmodifiableClassException
- If a class is not modifiable.ClassNotFoundException
- If a class could not be found.Copyright © 2014–2016. All rights reserved.