@HashCodeAndEqualsPlugin.Enhance public static class AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing extends Object implements AgentBuilder.RedefinitionStrategy.BatchAllocator
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing.SlicingIterable
An iterable that slices batches into parts of a minimum and maximum size.
|
AgentBuilder.RedefinitionStrategy.BatchAllocator.ForFixedSize, AgentBuilder.RedefinitionStrategy.BatchAllocator.ForMatchedGrouping, AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal, AgentBuilder.RedefinitionStrategy.BatchAllocator.Partitioning, AgentBuilder.RedefinitionStrategy.BatchAllocator.SlicingFIRST_BATCH| Modifier | Constructor and Description |
|---|---|
protected |
Slicing(int minimum,
int maximum,
AgentBuilder.RedefinitionStrategy.BatchAllocator batchAllocator)
Creates a new slicing batch allocator.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends List<Class<?>>> |
batch(List<Class<?>> types)
Splits a list of types to be retransformed into separate batches.
|
static AgentBuilder.RedefinitionStrategy.BatchAllocator |
withinRange(int minimum,
int maximum,
AgentBuilder.RedefinitionStrategy.BatchAllocator batchAllocator)
Creates a new slicing batch allocator.
|
static AgentBuilder.RedefinitionStrategy.BatchAllocator |
withMaximum(int maximum,
AgentBuilder.RedefinitionStrategy.BatchAllocator batchAllocator)
Creates a new slicing batch allocator.
|
static AgentBuilder.RedefinitionStrategy.BatchAllocator |
withMinimum(int minimum,
AgentBuilder.RedefinitionStrategy.BatchAllocator batchAllocator)
Creates a new slicing batch allocator.
|
protected Slicing(int minimum,
int maximum,
AgentBuilder.RedefinitionStrategy.BatchAllocator batchAllocator)
minimum - The minimum size of each slice.maximum - The maximum size of each slice.batchAllocator - The delegate batch allocator.public static AgentBuilder.RedefinitionStrategy.BatchAllocator withMinimum(int minimum, AgentBuilder.RedefinitionStrategy.BatchAllocator batchAllocator)
minimum - The minimum size of each slice.batchAllocator - The delegate batch allocator.public static AgentBuilder.RedefinitionStrategy.BatchAllocator withMaximum(int maximum, AgentBuilder.RedefinitionStrategy.BatchAllocator batchAllocator)
maximum - The maximum size of each slice.batchAllocator - The delegate batch allocator.public static AgentBuilder.RedefinitionStrategy.BatchAllocator withinRange(int minimum, int maximum, AgentBuilder.RedefinitionStrategy.BatchAllocator batchAllocator)
minimum - The minimum size of each slice.maximum - The maximum size of each slice.batchAllocator - The delegate batch allocator.public Iterable<? extends List<Class<?>>> batch(List<Class<?>> types)
batch in interface AgentBuilder.RedefinitionStrategy.BatchAllocatortypes - A list of types which should be retransformed.Copyright © 2014–2025. All rights reserved.