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, processgetChannelProcessor, getLifecycleState, getName, getStartException, isStarted, setChannelProcessor, setLifecycleState, setName, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconfiguregetChannelProcessor, setChannelProcessorgetLifecycleState, start, stopgetName, setNameprotected void doConfigure(Context context) throws FlumeException
doConfigure in class BasicSourceSemanticsFlumeExceptionprotected PollableSource.Status doProcess() throws EventDeliveryException
doProcess in class AbstractPollableSourceEventDeliveryExceptionprotected void doStart()
throws FlumeException
doStart in class BasicSourceSemanticsFlumeExceptionprotected void doStop()
throws FlumeException
doStop in class BasicSourceSemanticsFlumeExceptionpublic long getBatchSize()
BatchSizeSupportedgetBatchSize in interface BatchSizeSupportedCopyright © 2009-2022 Apache Software Foundation. All Rights Reserved.