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 TypeMethodDescriptionint
boolean
double
getCores()
Amount of virtual or physical cores provideddouble
getSpeed()
Speed, not necessarily in ghz, but certainly relevant to other processors in the same provider.int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
toString()
-
Constructor Details
-
Processor
public Processor(double cores, double speed)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in 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()
-