Package org.jclouds.compute.domain
Class Processor
- java.lang.Object
-
- org.jclouds.compute.domain.Processor
-
- All Implemented Interfaces:
Comparable<Processor>
public class Processor extends Object implements Comparable<Processor>
Processor (or CPU) as a part ofHardware
of aNodeMetadata
-
-
Constructor Summary
Constructors Constructor Description Processor(double cores, double speed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Processor that)
boolean
equals(Object o)
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()
String
toString()
-
-
-
Method Detail
-
compareTo
public int compareTo(Processor that)
- 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.
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-