Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractPoller ¶
type AbstractPoller struct {
trigger.AbstractTrigger
// contains filtered or unexported fields
}
func NewAbstractPoller ¶
func NewAbstractPoller(logger logger.Logger, workerAllocator worker.Allocator, configuration *Configuration, restartTriggerChan chan trigger.Trigger) (*AbstractPoller, error)
func (*AbstractPoller) SetPoller ¶
func (ap *AbstractPoller) SetPoller(poller Poller)
to allow parent to call functions implemented in child
func (*AbstractPoller) Start ¶
func (ap *AbstractPoller) Start(checkpoint functionconfig.Checkpoint) error
func (*AbstractPoller) Stop ¶
func (ap *AbstractPoller) Stop(force bool) (functionconfig.Checkpoint, error)
type Configuration ¶
type Configuration struct {
trigger.Configuration
IntervalMs int
MaxBatchSize int
MaxBatchWaitMs int
}
func NewConfiguration ¶
func NewConfiguration(id string, triggerConfiguration *functionconfig.Trigger, runtimeConfiguration *runtime.Configuration) (*Configuration, error)
Click to show internal directories.
Click to hide internal directories.