template <>

class WireTableBuilder

Defined at line 2284 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h

Public Methods

template <typename First = ::fuchsia_diagnostics::wire::SelectorArgument, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_diagnostics::wire::SelectorArgument>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_diagnostics::wire::SampleDatum> & selector (First && first, Args &&... args_)

The selector to check.

Defined at line 2297 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h

template <typename First = int64_t, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<int64_t>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_diagnostics::wire::SampleDatum> & interval_secs (First && first, Args &&... args_)

The interval at which this datum should be sampled.

Each `SampleDatum` has its own specified interval. It is preferred to send

as many selectors on one `Sample` connection as possible, to allow

Archivist to batch requests. However, Archivist will query at a period that

is the greatest common divisor of all intervals. So, balance the desire for

a small number of `Sample` connections with keeping the intervals compatible.

Example: two data with intervals of 3 and 4 respectively would check for work

every second. Archivist won't actually sample if neither batch is ready, but

it will check.

Example: two data with intervals of 10 and 5 respectively would only check for

work every 5 seconds.

(In practice, the calculated sample period must be valid. See

MINIMUM_SAMPLE_PERIOD_SECONDS above.)

Defined at line 2326 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h

Friends

template <>
class SampleDatum