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 memoryThis 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.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint64getPhysical()Return physical, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint64getReserved()Return reserved, ornullif it is not present.Class<? extends SystemMemoryState>implementedInterface()default @NonNull org.opendaylight.yangtools.yang.common.Uint64requirePhysical()Return physical, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64requireReserved()Return reserved, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends SystemMemoryState> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPhysical
org.opendaylight.yangtools.yang.common.Uint64 getPhysical()
Return physical, ornullif it is not present.Reports the total physical memory available on the system.- Returns:
Uint64physical, ornullif 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:
Uint64physical, guaranteed to be non-null.- Throws:
NoSuchElementException- if physical is not present
-
getReserved
org.opendaylight.yangtools.yang.common.Uint64 getReserved()
Return reserved, ornullif it is not present.Memory reserved for system use- Returns:
Uint64reserved, ornullif 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:
Uint64reserved, guaranteed to be non-null.- Throws:
NoSuchElementException- if reserved is not present
-
-