Class Device
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.api.deviceplugin.Device
- All Implemented Interfaces:
Serializable,Comparable
Represent one "device" resource.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getId
public int getId() -
getDevPath
-
getMajorNumber
public int getMajorNumber() -
getMinorNumber
public int getMinorNumber() -
getBusID
-
isHealthy
public boolean isHealthy() -
getStatus
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable
-
toString
-