@HashCodeAndEqualsPlugin.Enhance public static class AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.Cancelable.ForFuture extends java.lang.Object implements AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.Cancelable
Future
.AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.Cancelable.ForFuture, AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.Cancelable.NoOp
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.Future<?> |
future
The future to cancel upon cancellation of this instance.
|
Constructor and Description |
---|
ForFuture(java.util.concurrent.Future<?> future)
Creates a cancelable for a future.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels this resubmission job.
|
private final java.util.concurrent.Future<?> future
public ForFuture(java.util.concurrent.Future<?> future)
future
- The future to cancel upon cancellation of this instance.public void cancel()
cancel
in interface AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.Cancelable