public interface InstructionScheduler extends org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>, AutoCloseable
Modifier and Type | Method and Description |
---|---|
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.Copyright © 2019 OpenDaylight. All rights reserved.