Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue interface { plugin.Plugin // Initialize creates the queue. Initialize() error // Enqueue a inputEvent into the queue. Enqueue(event *v1.SniffData) error // Dequeue returns a SequenceEvent when Queue is not empty, Dequeue() (*SequenceEvent, error) // Close would close the queue. Close() error // Ack the lastOffset Ack(lastOffset *event.Offset) // TotalSize total capacity of queue TotalSize() int64 // UsedCount used count of queue UsedCount() int64 // IsFull the queue is full IsFull() bool }
Queue is a plugin interface, that defines new queues.
Click to show internal directories.
Click to hide internal directories.