All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
InstructionsQueue

@Generated("mdsal-binding-generator") public interface InstructionQueue extends org.opendaylight.yangtools.binding.Grouping
The bare minimum run-time information which should be exposed by an implementation of the instruction scheduler defined in this model

This class represents the following YANG schema fragment defined in module programming

 grouping instruction-queue {
   leaf instruction-queue-id {
     type string;
   }
   list instruction {
     config false;
     leaf id {
       type instruction-id;
     }
     key id;
     leaf status {
       type instruction-status;
     }
     leaf deadline {
       type nanotime;
     }
   }
 }
 
  • Method Details

    • getInstructionQueueId

      String getInstructionQueueId()
      Return instructionQueueId, or null if it is not present.
      Returns:
      String instructionQueueId, or null if it is not present.
    • requireInstructionQueueId

      default @NonNull String requireInstructionQueueId()
      Return instructionQueueId, guaranteed to be non-null.
      Returns:
      String instructionQueueId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if instructionQueueId is not present
    • getInstruction

      @Nullable Map<InstructionKey,Instruction> getInstruction()
      Return instruction, or null if it is not present.
           
               List of all instructions known to the scheduler.
           
       
      Returns:
      Map<InstructionKey, Instruction> instruction, or null if it is not present.
    • nonnullInstruction

      default @NonNull Map<InstructionKey,Instruction> nonnullInstruction()
      Return instruction, or an empty list if it is not present.
      Returns:
      Map<InstructionKey, Instruction> instruction, or an empty list if it is not present.