Skip to content
View as Markdown

CPU cores, memory GiB and disk GiB for one appended node.

public NodeResources(int cpu, int memory, int disk)

Parameters:

  • cpu int - positive number of CPU cores
  • memory int - positive memory size in GiB
  • disk int - positive disk size in GiB

Throws:

  • io.daytona.sdk.exception.DaytonaException - if any value is less than one
public int getCpu()

Returns:

  • int -
public int getMemory()

Returns:

  • int -
public int getDisk()

Returns:

  • int -