@Deprecated public class TimedShutoffFirehoseFactory extends Object implements FirehoseFactory<InputRowParser>
Firehose created by this factory spins up and manages one thread for calling Firehose.close()
asynchronously at the specified shutoffTime.| Constructor and Description |
|---|
TimedShutoffFirehoseFactory(FirehoseFactory delegateFactory,
org.joda.time.DateTime shutoffTime)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Firehose |
connect(InputRowParser parser,
File temporaryDirectory)
Deprecated.
|
FirehoseFactory |
getDelegateFactory()
Deprecated.
|
org.joda.time.DateTime |
getShutoffTime()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, isSplittablepublic TimedShutoffFirehoseFactory(FirehoseFactory delegateFactory, org.joda.time.DateTime shutoffTime)
public Firehose connect(InputRowParser parser, File temporaryDirectory) throws IOException
connect in interface FirehoseFactory<InputRowParser>IOExceptionpublic FirehoseFactory getDelegateFactory()
public org.joda.time.DateTime getShutoffTime()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.