public class TimedShutoffFirehoseFactory extends Object implements FirehoseFactory<InputRowParser>
Modifier and Type | Class and Description |
---|---|
class |
TimedShutoffFirehoseFactory.TimedShutoffFirehose |
Constructor and Description |
---|
TimedShutoffFirehoseFactory(FirehoseFactory delegateFactory,
org.joda.time.DateTime shutoffTime) |
Modifier and Type | Method and Description |
---|---|
Firehose |
connect(InputRowParser parser)
Initialization method that connects up the fire hose.
|
FirehoseFactory |
getDelegateFactory() |
org.joda.time.DateTime |
getShutoffTime() |
public TimedShutoffFirehoseFactory(FirehoseFactory delegateFactory, org.joda.time.DateTime shutoffTime)
public Firehose connect(InputRowParser parser) throws IOException
FirehoseFactory
connect
in interface FirehoseFactory<InputRowParser>
IOException
public FirehoseFactory getDelegateFactory()
public org.joda.time.DateTime getShutoffTime()
Copyright © 2011–2017. All rights reserved.