Package net.bytebuddy.agent.builder
Enum AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal
java.lang.Object
java.lang.Enum<AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal>
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal
- All Implemented Interfaces:
Serializable
,Comparable<AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal>
,java.lang.constant.Constable
,AgentBuilder.RedefinitionStrategy.BatchAllocator
- Enclosing interface:
AgentBuilder.RedefinitionStrategy.BatchAllocator
public static enum AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal
extends Enum<AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal>
implements AgentBuilder.RedefinitionStrategy.BatchAllocator
A batch allocator that includes all types in a single batch.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.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 Summary
Enum Constants -
Field Summary
Fields inherited from interface net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.BatchAllocator
FIRST_BATCH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSplits a list of types to be retransformed into separate batches.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
ForTotal
private ForTotal()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
batch
Splits a list of types to be retransformed into separate batches.- Specified by:
batch
in interfaceAgentBuilder.RedefinitionStrategy.BatchAllocator
- Parameters:
types
- A list of types which should be retransformed.- Returns:
- An iterable of retransformations within a batch.
-