Interface SystemMemoryState
- 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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint64Return physical, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint64Return reserved, ornullif it is not present.Class<? extends SystemMemoryState>default @NonNull org.opendaylight.yangtools.yang.common.Uint64Return physical, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64Return reserved, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends SystemMemoryState> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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
-