Interface PlatformComponentMemoryState

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 PlatformComponentMemoryState extends org.opendaylight.yangtools.yang.binding.DataObject
Per-component memory statistics

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

 grouping platform-component-memory-state {
   container memory {
     leaf available {
       type uint64;
       units bytes;
     }
     leaf utilized {
       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
    Return memory, or null if it is not present.
     
    @NonNull Memory
    Return memory, or an empty instance if it is not present.
  • 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 PlatformComponentMemoryState> 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
    • getMemory

      Memory getMemory()
      Return memory, or null if it is not present.
           
               For components that have associated memory, these values report information
               about available and utilized memory.
           
       
      Returns:
      Memory memory, or null if it is not present.
    • nonnullMemory

      @NonNull Memory nonnullMemory()
      Return memory, or an empty instance if it is not present.
      Returns:
      Memory memory, or an empty instance if it is not present.