mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
logging: Implement get_delay_queue_size()
Primarily for introspection given that re-delaying may exceed queue sizes.
This commit is contained in:
parent
f0e67022fd
commit
2dbb467ba2
8 changed files with 213 additions and 0 deletions
|
@ -236,6 +236,15 @@ public:
|
|||
*/
|
||||
bool SetMaxDelayQueueSize(const EnumValPtr& id, zeek_uint_t max_queue_length);
|
||||
|
||||
/**
|
||||
* Returns the current size for the delay queue for the stream identified by \a id.
|
||||
*
|
||||
* @param id The enum value corresponding to the log stream.
|
||||
*
|
||||
* @return The size of the delay queue or -1 on error.
|
||||
*/
|
||||
zeek_int_t GetDelayQueueSize(const EnumValPtr& id);
|
||||
|
||||
/**
|
||||
* Create a new log writer frontend. This is exposed so that the
|
||||
* communication system can recreate remote log streams locally.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue