NodeResources
Section titled “NodeResources”CPU cores, memory GiB and disk GiB for one appended node.
Constructors
Section titled “Constructors”new NodeResources()
Section titled “new NodeResources()”public NodeResources(int cpu, int memory, int disk)Parameters:
cpuint - positive number of CPU coresmemoryint - positive memory size in GiBdiskint - positive disk size in GiB
Throws:
io.daytona.sdk.exception.DaytonaException- if any value is less than one
Methods
Section titled “Methods”getCpu()
Section titled “getCpu()”public int getCpu()Returns:
int-
getMemory()
Section titled “getMemory()”public int getMemory()Returns:
int-
getDisk()
Section titled “getDisk()”public int getDisk()Returns:
int-