Interface SystemMemoryState

  • All Superinterfaces:
    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 @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends SystemMemoryState> implementedInterface()
        Specified by:
        implementedInterface in interface 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