org.jclouds.compute.domain
Class Processor

java.lang.Object
  extended by 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)
           
 
Method Summary
 int compareTo(Processor that)
          
 boolean equals(Object o)
           
 double getCores()
          Amount of virtual or physical cores provided
 double getSpeed()
          Speed, not necessarily in ghz, but certainly relevant to other processors in the same provider.
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Processor

public Processor(double cores,
                 double speed)
Method Detail

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.