public abstract class AbstractInstructionExecutor extends Object implements com.google.common.util.concurrent.FutureCallback<Instruction>
Modifier | Constructor and Description |
---|---|
protected |
AbstractInstructionExecutor(SubmitInstructionInput input) |
Modifier and Type | Method and Description |
---|---|
SubmitInstructionInput |
getInput() |
protected abstract com.google.common.util.concurrent.ListenableFuture<OperationResult> |
invokeOperation() |
void |
onFailure(Throwable throwable) |
void |
onSuccess(Instruction insn) |
static FailureCase |
schedule(InstructionScheduler scheduler,
AbstractInstructionExecutor fwd) |
protected AbstractInstructionExecutor(@Nonnull SubmitInstructionInput input)
public static FailureCase schedule(InstructionScheduler scheduler, AbstractInstructionExecutor fwd)
public final SubmitInstructionInput getInput()
protected abstract com.google.common.util.concurrent.ListenableFuture<OperationResult> invokeOperation()
public void onSuccess(Instruction insn)
onSuccess
in interface com.google.common.util.concurrent.FutureCallback<Instruction>
public void onFailure(Throwable throwable)
onFailure
in interface com.google.common.util.concurrent.FutureCallback<Instruction>
Copyright © 2019 OpenDaylight. All rights reserved.