org.apache.spark.scheduler
Class RuntimePercentage
Object
org.apache.spark.scheduler.RuntimePercentage
- All Implemented Interfaces:
- java.io.Serializable, scala.Equals, scala.Product
public class RuntimePercentage
- extends Object
- implements scala.Product, scala.Serializable
- See Also:
- Serialized Form
Constructor Summary |
RuntimePercentage(double executorPct,
scala.Option<Object> fetchPct,
double other)
|
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
RuntimePercentage
public RuntimePercentage(double executorPct,
scala.Option<Object> fetchPct,
double other)
apply
public static RuntimePercentage apply(long totalTime,
org.apache.spark.executor.TaskMetrics metrics)
executorPct
public double executorPct()
fetchPct
public scala.Option<Object> fetchPct()
other
public double other()