/** * Asynchronously retrieves all public statuses. This stream is not generally * available - it requires special permissions and its usage is discouraged by * Twitter * <p/> * Only one Twitter stream can be consumed using the same credentials. As a consequence, * only one twitter stream can be consumed per connector instance. * <p/> * {@sample.xml ../../../doc/twitter-connector.xml.sample twitter:firehoseStream} * * @param count Indicates the number of previous statuses to consider for delivery before transitioning to live * stream delivery. * @param callback the {@link SourceCallback} used to dispatch messageswhen a response is received */ @Source public void firehoseStream(int count, final SourceCallback callback) { listenToStatues(callback).firehose(count); }
.equals(TwitterConstant.FIREHOSE_STREAM_OPERATION)) { if (countParam != null) { twitterStream.firehose(count);