inspect::TreeServerSendPreference

#include <tree_handler_settings.h>

TreeServerSendPreference describes how the VMO should be served.

Summary

Constructors and Destructors

TreeServerSendPreference()
Default behavior is to send a Frozen VMO; on failure, it will send a Live VMO.

Public types

Type{
  Frozen,
  Live,
  DeepCopy
}
enum

Public functions

FailureBehavior()
constexpr cpp17::optional< Type >
PrimaryBehavior()
constexpr Type

Public static functions

DeepCopy()
Send a true copy of the VMO.
Frozen(Type failure)
Freeze the VMO if possible.
Live()
Send a live VMO.

Public types

Type

 Type

Public functions

FailureBehavior

constexpr cpp17::optional< Type > FailureBehavior()

PrimaryBehavior

constexpr Type PrimaryBehavior()

TreeServerSendPreference

 TreeServerSendPreference()=default

Default behavior is to send a Frozen VMO; on failure, it will send a Live VMO.

Public static functions

DeepCopy

constexpr TreeServerSendPreference DeepCopy()

Send a true copy of the VMO.

Frozen

constexpr TreeServerSendPreference Frozen(
  Type failure
)

Freeze the VMO if possible.

On failure, do failure. failure should not be Type::Frozen.

Live

constexpr TreeServerSendPreference Live()

Send a live VMO.