public interface InstructionScheduler extends org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>, AutoCloseable
Modifier and Type | Method and Description |
---|---|
@NonNull String |
getInstructionID()
Returns InstructionID.
|
com.google.common.util.concurrent.ListenableFuture<Instruction> |
scheduleInstruction(SubmitInstructionInput input)
Schedule a new instruction for execution.
|
close
com.google.common.util.concurrent.ListenableFuture<Instruction> scheduleInstruction(SubmitInstructionInput input) throws SchedulerException
Instruction
contract.input
- Instruction scheduling informationSchedulerException
- if a failure to schedule the instruction occurs.@NonNull String getInstructionID()
Copyright © 2020 OpenDaylight. All rights reserved.