class ResourceInformation extends Serializable
Class to hold information about a type of Resource. A resource could be a GPU, FPGA, etc. The array of addresses are resource specific and its up to the user to interpret the address.
One example is GPUs, where the addresses would be the indices of the GPUs
- Annotations
- @Evolving()
- Source
- ResourceInformation.scala
- Since
3.0.0
- Alphabetic
- By Inheritance
- ResourceInformation
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ResourceInformation(name: String, addresses: Array[String])
- name
the name of the resource
- addresses
an array of strings describing the addresses of the resource
Value Members
- val addresses: Array[String]
-
def
equals(obj: Any): Boolean
- Definition Classes
- ResourceInformation → AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- ResourceInformation → AnyRef → Any
- val name: String
- final def toJson(): JValue
-
def
toString(): String
- Definition Classes
- ResourceInformation → AnyRef → Any