Package net.bytebuddy.agent.builder
Interface AgentBuilder.RedefinitionStrategy.ResubmissionScheduler
- All Known Implementing Classes:
AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.AtFixedRate
,AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.NoOp
,AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.WithFixedDelay
- Enclosing class:
AgentBuilder.RedefinitionStrategy
public static interface AgentBuilder.RedefinitionStrategy.ResubmissionScheduler
A resubmission scheduler is responsible for scheduling a job that is resubmitting unloaded types that failed during retransformation.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A resubmission scheduler that schedules jobs at a fixed rate.static interface
A cancelable allows to discontinue a resubmission job.static enum
A resubmission scheduler that does not apply any scheduling.static class
A resubmission scheduler that schedules jobs with a fixed delay. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAlive()
Checks if this scheduler is currently available.Schedules a resubmission job for regular application.
-
Method Details
-
isAlive
boolean isAlive()Checks if this scheduler is currently available.- Returns:
true
if this scheduler is alive.
-
schedule
Schedules a resubmission job for regular application.- Parameters:
job
- The job to schedule.- Returns:
- A cancelable that is canceled upon resetting the corresponding class file transformer.
-