Documentation ¶
Index ¶
Constants ¶
View Source
const (
QUEUE_BATCH = 1 << 14
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThrottlingQueue ¶
type ThrottlingQueue struct { Throttle int // contains filtered or unexported fields }
func NewThrottlingQueue ¶
func NewThrottlingQueue(throttle, throttleBucket int, flowLogWriter *dbwriter.FlowLogWriter, index int) *ThrottlingQueue
func (*ThrottlingQueue) SampleDisabled ¶
func (thq *ThrottlingQueue) SampleDisabled() bool
func (*ThrottlingQueue) SendWithThrottling ¶
func (thq *ThrottlingQueue) SendWithThrottling(flow interface{}) bool
func (*ThrottlingQueue) SendWithoutThrottling ¶
func (thq *ThrottlingQueue) SendWithoutThrottling(flow interface{})
Click to show internal directories.
Click to hide internal directories.