Package net.bytebuddy.agent.builder
Enum AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.NoOp
java.lang.Object
java.lang.Enum<AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.NoOp>
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.NoOp
- All Implemented Interfaces:
Serializable
,Comparable<AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.NoOp>
,java.lang.constant.Constable
,AgentBuilder.RedefinitionStrategy.ResubmissionScheduler
- Enclosing interface:
AgentBuilder.RedefinitionStrategy.ResubmissionScheduler
public static enum AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.NoOp
extends Enum<AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.NoOp>
implements AgentBuilder.RedefinitionStrategy.ResubmissionScheduler
A resubmission scheduler that does not apply any scheduling.
-
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.ResubmissionScheduler
AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.AtFixedRate, AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.Cancelable, AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.NoOp, AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.WithFixedDelay
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAlive()
Checks if this scheduler is currently available.Schedules a resubmission job for regular application.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
-
NoOp
private NoOp()
-
-
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
-
isAlive
public boolean isAlive()Checks if this scheduler is currently available.- Specified by:
isAlive
in interfaceAgentBuilder.RedefinitionStrategy.ResubmissionScheduler
- Returns:
true
if this scheduler is alive.
-
schedule
Schedules a resubmission job for regular application.- Specified by:
schedule
in interfaceAgentBuilder.RedefinitionStrategy.ResubmissionScheduler
- Parameters:
job
- The job to schedule.- Returns:
- A cancelable that is canceled upon resetting the corresponding class file transformer.
-