public class SequenceGeneratorSource extends AbstractPollableSource implements Configurable, BatchSizeSupported
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() |
long |
getBatchSize()
Returns the batch size
|
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
public long getBatchSize()
BatchSizeSupported
getBatchSize
in interface BatchSizeSupported
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.