Skip to content
«interface»SolidSyslogStoreNullStoreCore · no-op

File SolidSyslogNullStore.h

FileList > Core > Interface > SolidSyslogNullStore.h

  • #include "SolidSyslogExternC.h"

Detailed Description

The no-op Store Null object (no store-and-forward): Write answers SOLIDSYSLOG_STORE_WRITE_NOT_RETAINED and IsTransient returns true, so Service sends a buffered record directly instead of storing it.

ReadNextUnsent and HasUnsent report empty.

Public Functions Documentation

SolidSyslogNullStore_Get

Never retains a record.

struct SolidSyslogStore * SolidSyslogNullStore_Get (
    void
) 

Write answers SOLIDSYSLOG_STORE_WRITE_NOT_RETAINED and IsTransient true, so Service sends each buffered record directly: the constrained-system configuration with no store-and-forward. A record the sender refuses is not lost at once. Service holds it and retries it on every pass, and the buffer is the only queue behind it, applying its own discard policy as it fills; see SolidSyslog_Service. ReadNextUnsent and HasUnsent report empty.



The documentation for this class was generated from the following file Core/Interface/SolidSyslogNullStore.h