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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn memory, ornullif it is not present.Class<? extends PlatformComponentMemoryState>@NonNull MemoryReturn memory, or an empty instance if it is not present.
-
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 PlatformComponentMemoryState> 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
-
getMemory
Memory getMemory()Return memory, ornullif it is not present.For components that have associated memory, these values report information about available and utilized memory.- Returns:
Memorymemory, ornullif it is not present.
-
nonnullMemory
@NonNull Memory nonnullMemory()Return memory, or an empty instance if it is not present.- Returns:
Memorymemory, or an empty instance if it is not present.
-