org.apache.spark.streaming.receiver
Class Statistics
Object
   org.apache.spark.streaming.receiver.Statistics
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)
 | 
 
 
| 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 | 
 
Statistics
public Statistics(int numberOfMsgs,
                  int numberOfWorkers,
                  int numberOfHiccups,
                  String otherInfo)
numberOfMsgs
public int numberOfMsgs()
- 
 
- 
 
numberOfWorkers
public int numberOfWorkers()
- 
 
- 
 
numberOfHiccups
public int numberOfHiccups()
- 
 
- 
 
otherInfo
public String otherInfo()
- 
 
-