public class TwitterSpritzerFirehoseFactory extends Object implements FirehoseFactory<InputRowParser>
Constructor and Description |
---|
TwitterSpritzerFirehoseFactory(Integer maxEventCount,
Integer maxRunMinutes) |
Modifier and Type | Method and Description |
---|---|
Firehose |
connect(InputRowParser parser)
Initialization method that connects up the fire hose.
|
int |
getMaxEventCount() |
int |
getMaxRunMinutes() |
public Firehose connect(InputRowParser parser) throws IOException
FirehoseFactory
connect
in interface FirehoseFactory<InputRowParser>
IOException
public int getMaxEventCount()
public int getMaxRunMinutes()
Copyright © 2011–2017. All rights reserved.