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:
java.io.Serializable
,java.lang.Comparable<AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal>
,AgentBuilder.RedefinitionStrategy.BatchAllocator
- Enclosing interface:
- AgentBuilder.RedefinitionStrategy.BatchAllocator
public static enum AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal extends java.lang.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 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 Enum Constant Description INSTANCE
The singleton instance.
-
Field Summary
-
Fields inherited from interface net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.BatchAllocator
FIRST_BATCH
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ForTotal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<? extends java.util.List<java.lang.Class<?>>>
batch(java.util.List<java.lang.Class<?>> types)
Splits a list of types to be retransformed into separate batches.static AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal c : AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
batch
public java.lang.Iterable<? extends java.util.List<java.lang.Class<?>>> batch(java.util.List<java.lang.Class<?>> types)
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.
-
-