All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
State

@Generated("mdsal-binding-generator") public interface SystemMemoryState extends org.opendaylight.yangtools.yang.binding.DataObject
Operational state data for system memory

This class represents the following YANG schema fragment defined in module openconfig-system

 grouping system-memory-state {
   leaf physical {
     type uint64;
     units bytes;
   }
   leaf reserved {
     type uint64;
     units bytes;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yangtools.yang.common.Uint64
    Return physical, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint64
    Return reserved, or null if it is not present.
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return physical, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return reserved, guaranteed to be non-null.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends SystemMemoryState> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getPhysical

      org.opendaylight.yangtools.yang.common.Uint64 getPhysical()
      Return physical, or null if it is not present.
           
               Reports the total physical memory available on the system.
           
       
      Returns:
      Uint64 physical, or null if it is not present.
    • requirePhysical

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requirePhysical()
      Return physical, guaranteed to be non-null.
           
               Reports the total physical memory available on the system.
           
       
      Returns:
      Uint64 physical, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if physical is not present
    • getReserved

      org.opendaylight.yangtools.yang.common.Uint64 getReserved()
      Return reserved, or null if it is not present.
           
               Memory reserved for system use
           
       
      Returns:
      Uint64 reserved, or null if it is not present.
    • requireReserved

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireReserved()
      Return reserved, guaranteed to be non-null.
           
               Memory reserved for system use
           
       
      Returns:
      Uint64 reserved, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if reserved is not present