public class Processor extends Object implements Comparable<Processor>
Hardware
of a NodeMetadata
Constructor and Description |
---|
Processor(double cores,
double speed) |
Modifier and Type | Method and Description |
---|---|
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() |
public int compareTo(Processor that)
compareTo
in interface Comparable<Processor>
public double getCores()
public double getSpeed()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.