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 of Hardware of a NodeMetadata
|
Constructor Summary |
Processor(double cores,
double speed)
|
Processor
public Processor(double cores,
double speed)
compareTo
public int compareTo(Processor that)
-
- Specified by:
compareTo in interface Comparable<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
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.