public interface StreamingOperations
Modifier and Type | Method and Description |
---|---|
Stream |
filter(FilterStreamParameters parameters,
List<StreamListener> listeners)
Monitor a filtered stream, given a set of listeners.
|
Stream |
filter(String trackKeywords,
List<StreamListener> listeners)
Monitor a filtered stream, given a set of listeners.
|
Stream |
firehose(int backfill,
List<StreamListener> listeners)
Monitor the firehose stream, given a set of listeners and a backfill value.
|
Stream |
firehose(List<StreamListener> listeners)
Monitor the firehose stream, given a set of listeners.
|
Stream |
sample(List<StreamListener> listeners)
Monitor the sample stream, given a set of listeners.
|
Stream |
user(List<StreamListener> listeners) |
Stream |
user(UserStreamParameters parameters,
List<StreamListener> listeners) |
Stream firehose(List<StreamListener> listeners)
listeners
- the listeners to monitor the streamStream firehose(int backfill, List<StreamListener> listeners)
backfill
- the number of messages to backfill. Valid values 1 to 150000 or -1 to -150000.listeners
- the listeners to monitor the streamStream sample(List<StreamListener> listeners)
listeners
- the listeners to monitor the streamStream filter(String trackKeywords, List<StreamListener> listeners)
trackKeywords
- the terms to track in the streamlisteners
- the listeners to monitor the streamStream filter(FilterStreamParameters parameters, List<StreamListener> listeners)
parameters
- the stream's filter parameterslisteners
- the listeners to monitor the streamStream user(List<StreamListener> listeners)
Stream user(UserStreamParameters parameters, List<StreamListener> listeners)