| Package | Description |
|---|---|
| net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
AgentBuilder.RedefinitionStrategy.BatchAllocator.ForFixedSize
A batch allocator that creates chunks with a fixed size as batch jobs.
|
static class |
AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal
A batch allocator that includes all types in a single batch.
|
| Modifier and Type | Method and Description |
|---|---|
static AgentBuilder.RedefinitionStrategy.BatchAllocator |
AgentBuilder.RedefinitionStrategy.BatchAllocator.ForFixedSize.ofSize(int size)
Creates a new batch allocator that creates chunks of a fixed size.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AgentBuilder.RedefinitionStrategy.Delegate.apply(Instrumentation instrumentation,
AgentBuilder.LocationStrategy locationStrategy,
AgentBuilder.Listener listener,
AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator,
AgentBuilder.RedefinitionStrategy.Listener redefinitionListener,
AgentBuilder.RedefinitionStrategy.FailureHandler redefinitionFailureHandler)
Applies the current retransformation process.
|
ResettableClassFileTransformer.Reset |
ResettableClassFileTransformer.reset(Instrumentation instrumentation,
AgentBuilder.RedefinitionStrategy redefinitionStrategy,
AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator)
Deregisters this class file transformer and redefines any transformed class to its state without this
class file transformer applied, if the supplied redefinition strategy is enabled.
|
ResettableClassFileTransformer.Reset |
ResettableClassFileTransformer.AbstractBase.reset(Instrumentation instrumentation,
AgentBuilder.RedefinitionStrategy redefinitionStrategy,
AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator) |
ResettableClassFileTransformer.Reset |
AgentBuilder.Default.ExecutingTransformer.reset(Instrumentation instrumentation,
AgentBuilder.RedefinitionStrategy redefinitionStrategy,
AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator,
AgentBuilder.RedefinitionStrategy.Listener redefinitionListener) |
ResettableClassFileTransformer.Reset |
ResettableClassFileTransformer.reset(Instrumentation instrumentation,
AgentBuilder.RedefinitionStrategy redefinitionStrategy,
AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator,
AgentBuilder.RedefinitionStrategy.Listener redefinitionListener)
Deregisters this class file transformer and redefines any transformed class to its state without this
class file transformer applied, if the supplied redefinition strategy is enabled.
|
AgentBuilder.Redefining |
AgentBuilder.Redefining.with(AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator)
A batch allocator is responsible for diving a redefining of existing types into several chunks.
|
AgentBuilder.Redefining |
AgentBuilder.Default.with(AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator) |
Copyright © 2014–2016. All rights reserved.