summaryrefslogtreecommitdiff
path: root/src/main/TweetShell.java
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-05-02 17:12:05 +0200
committerPeter Wu <peter@lekensteyn.nl>2014-05-02 17:12:05 +0200
commit42bc583b80535affa5b1235d4c534984a738c958 (patch)
tree1d819bb3229a85e7c3b37345196320484ba14167 /src/main/TweetShell.java
parentc112dcf584048d7f94c9cf6136105b9f6dc83215 (diff)
downloadTwitterDataAnalytics-42bc583b80535affa5b1235d4c534984a738c958.tar.gz
Track number of unique users for status reporting
Diffstat (limited to 'src/main/TweetShell.java')
-rw-r--r--src/main/TweetShell.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/TweetShell.java b/src/main/TweetShell.java
index a5114e2..a7738d5 100644
--- a/src/main/TweetShell.java
+++ b/src/main/TweetShell.java
@@ -263,6 +263,7 @@ public class TweetShell implements TwitterApi.PinSupplier {
System.out.println("Streaming is inactive.");
}
System.out.println("Received tweets in session: " + tc.getTweetCount());
+ System.out.println("Unique users: " + tc.getUsers().size());
break;
case close:
getStream().close();