base/bif/storage.bif.zeek

GLOBAL
Storage

Functions related to general storage operations. These are not specific to async or sync.

Namespaces:

GLOBAL, Storage

Summary

Functions

Storage::is_forced_sync: function

Checks whether a storage backend was opened in forced-synchronous mode.

Storage::is_open: function

Checks whether a storage backend is open.

Detailed Interface

Functions

Storage::is_forced_sync
Type:

function (backend: opaque of Storage::BackendHandle) : bool

Checks whether a storage backend was opened in forced-synchronous mode.

Parameters:

backend – A handle to the backend to check.

Returns:

T if the forced_synchronous option was set to T, F otherwise or if the handle is invalid.

Storage::is_open
Type:

function (backend: opaque of Storage::BackendHandle) : bool

Checks whether a storage backend is open.

Parameters:

backend – A handle to the backed to check.

Returns:

T if the backend is open, F if the backend is not open or if the handle is invalid.