public class SequenceGeneratorSource extends AbstractPollableSource implements Configurable
PollableSource.Status
Constructor and Description |
---|
SequenceGeneratorSource() |
Modifier and Type | Method and Description |
---|---|
protected void |
doConfigure(Context context)
Read parameters from context
batchSize = type int that defines the size of event batches
|
protected PollableSource.Status |
doProcess() |
protected void |
doStart() |
protected void |
doStop() |
configure, getBackOffSleepIncrement, getMaxBackOffSleepInterval, process
getChannelProcessor, getLifecycleState, getName, getStartException, isStarted, setChannelProcessor, setLifecycleState, setName, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
configure
getChannelProcessor, setChannelProcessor
getLifecycleState, start, stop
getName, setName
protected void doConfigure(Context context) throws FlumeException
doConfigure
in class BasicSourceSemantics
FlumeException
protected PollableSource.Status doProcess() throws EventDeliveryException
doProcess
in class AbstractPollableSource
EventDeliveryException
protected void doStart() throws FlumeException
doStart
in class BasicSourceSemantics
FlumeException
protected void doStop() throws FlumeException
doStop
in class BasicSourceSemantics
FlumeException
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.