public static enum AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal extends Enum<AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal> implements AgentBuilder.RedefinitionStrategy.BatchAllocator
AgentBuilder.RedefinitionStrategy.BatchAllocator.ForFixedSize, AgentBuilder.RedefinitionStrategy.BatchAllocator.ForMatchedGrouping, AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal, AgentBuilder.RedefinitionStrategy.BatchAllocator.Partitioning, AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
FIRST_BATCH
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.ForTotal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal INSTANCE
public static AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal[] values()
for (AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal c : AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal.values()) System.out.println(c);
public static AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Iterable<? extends List<Class<?>>> batch(List<Class<?>> types)
batch
in interface AgentBuilder.RedefinitionStrategy.BatchAllocator
types
- A list of types which should be retransformed.Copyright © 2014–2020. All rights reserved.