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
FirehoseFactoryconnect in interface FirehoseFactory<InputRowParser>IOExceptionpublic int getMaxEventCount()
public int getMaxRunMinutes()
Copyright © 2011–2017. All rights reserved.