Package org.jclouds.compute.domain
Class Processor
java.lang.Object
org.jclouds.compute.domain.Processor
- All Implemented Interfaces:
Comparable<Processor>
Processor (or CPU) as a part of
Hardware of a NodeMetadata-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleandoublegetCores()Amount of virtual or physical cores provideddoublegetSpeed()Speed, not necessarily in ghz, but certainly relevant to other processors in the same provider.inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()toString()
-
Constructor Details
-
Processor
public Processor(double cores, double speed)
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Processor>
-
getCores
public double getCores()Amount of virtual or physical cores provided -
getSpeed
public double getSpeed()Speed, not necessarily in ghz, but certainly relevant to other processors in the same provider. -
equals
-
hashCode
public int hashCode() -
toString
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-