org.apache.spark.streaming.receiver
Class Statistics

Object
  extended by org.apache.spark.streaming.receiver.Statistics
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class Statistics
extends Object
implements scala.Product, scala.Serializable

:: DeveloperApi :: Statistics for querying the supervisor about state of workers. Used in conjunction with StreamingContext.actorStream and ActorHelper.

See Also:
Serialized Form

Constructor Summary
Statistics(int numberOfMsgs, int numberOfWorkers, int numberOfHiccups, String otherInfo)
           
 
Method Summary
 int numberOfHiccups()
           
 int numberOfMsgs()
           
 int numberOfWorkers()
           
 String otherInfo()
           
 
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
 

Constructor Detail

Statistics

public Statistics(int numberOfMsgs,
                  int numberOfWorkers,
                  int numberOfHiccups,
                  String otherInfo)
Method Detail

numberOfMsgs

public int numberOfMsgs()

numberOfWorkers

public int numberOfWorkers()

numberOfHiccups

public int numberOfHiccups()

otherInfo

public String otherInfo()