@TypeMetadata(name="MemoryFacet",
description="MemoryFacet captures information on computer memory equipping the resource and its usage. Any resource describing a computing machine must have at least two types of memories i.e., persistent and volatile. For such a reason, it has been identified the ConsistsOf relation called {@link HasMemory}. It is in charge of the specialisation {@link HasVolatileMemory} and {@link HasPersistentMemory} to clarify the semantics of the memory.",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface MemoryFacet
extends org.gcube.informationsystem.model.reference.entities.Facet
HasMemory.
It is in charge of the specialisation HasVolatileMemory and HasPersistentMemory
to clarify the semantics of the memory.
https://wiki.gcube-system.org/gcube/GCube_Model#Memory_Facet| Modifier and Type | Interface and Description |
|---|---|
static class |
MemoryFacet.MemoryUnit |
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize() |
MemoryFacet.MemoryUnit |
getUnit() |
long |
getUsed() |
void |
setSize(long size) |
void |
setUnit(MemoryFacet.MemoryUnit unit) |
void |
setUsed(long used) |
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertystatic final String NAME
@ISProperty long getSize()
void setSize(long size)
@ISProperty long getUsed()
void setUsed(long used)
@ISProperty MemoryFacet.MemoryUnit getUnit()
void setUnit(MemoryFacet.MemoryUnit unit)
Copyright © 2022. All Rights Reserved.