Class AbstractInstructionExecutor
java.lang.Object
org.opendaylight.bgpcep.pcep.topology.spi.AbstractInstructionExecutor
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<Instruction>
public abstract class AbstractInstructionExecutor
extends Object
implements com.google.common.util.concurrent.FutureCallback<Instruction>
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractInstructionExecutor
(@NonNull SubmitInstructionInput input) -
Method Summary
Modifier and TypeMethodDescriptionfinal SubmitInstructionInput
getInput()
protected abstract com.google.common.util.concurrent.ListenableFuture
<OperationResult> void
void
onSuccess
(Instruction insn) static FailureCase
schedule
(InstructionScheduler scheduler, AbstractInstructionExecutor fwd)
-
Constructor Details
-
AbstractInstructionExecutor
-
-
Method Details
-
schedule
-
getInput
-
invokeOperation
protected abstract com.google.common.util.concurrent.ListenableFuture<OperationResult> invokeOperation() -
onSuccess
- Specified by:
onSuccess
in interfacecom.google.common.util.concurrent.FutureCallback<Instruction>
-
onFailure
- Specified by:
onFailure
in interfacecom.google.common.util.concurrent.FutureCallback<Instruction>
-