Safir SDK Core
Loading...
Searching...
No Matches
Safir::Dob::PersistenceThrottlingProperty Class Reference

This property is used to limit writes to external storage for frequently updated entities. More...

#include </home/lars/safir/safir-sdk-core/src/safir_dou/gen/cpp/include/Safir/Dob/PersistenceThrottlingProperty.h>

Static Public Member Functions

static bool HasProperty (const Safir::Dob::Typesystem::ObjectPtr object)
 
static void SetWritePeriod (Safir::Dob::Typesystem::ObjectPtr object, const Safir::Dob::Typesystem::Si32::Second value)
 Zero or negative values will be treated as no throttling wanted.
 
static void SetNullWritePeriod (Safir::Dob::Typesystem::ObjectPtr object)
 
static bool IsNullWritePeriod (const Safir::Dob::Typesystem::ObjectPtr object)
 
static bool IsChangedWritePeriod (const Safir::Dob::Typesystem::ObjectPtr object)
 
static bool IsReadOnlyWritePeriod (const Safir::Dob::Typesystem::ObjectPtr object)
 
static Safir::Dob::Typesystem::Si32::Second GetWritePeriod (const Safir::Dob::Typesystem::ObjectPtr object)
 Zero or negative values will be treated as no throttling wanted.
 

Static Public Attributes

static const Safir::Dob::Typesystem::TypeId ClassTypeId = -2558933252538908149LL
 Type id for PersistenceThrottlingProperty.
 

Detailed Description

This property is used to limit writes to external storage for frequently updated entities.

An entity will be be written no more often then WritePeriod.

Member Function Documentation

◆ GetWritePeriod()

static Safir::Dob::Typesystem::Si32::Second Safir::Dob::PersistenceThrottlingProperty::GetWritePeriod ( const Safir::Dob::Typesystem::ObjectPtr object)
static

Zero or negative values will be treated as no throttling wanted.

◆ HasProperty()

static bool Safir::Dob::PersistenceThrottlingProperty::HasProperty ( const Safir::Dob::Typesystem::ObjectPtr object)
static

◆ IsChangedWritePeriod()

static bool Safir::Dob::PersistenceThrottlingProperty::IsChangedWritePeriod ( const Safir::Dob::Typesystem::ObjectPtr object)
static

◆ IsNullWritePeriod()

static bool Safir::Dob::PersistenceThrottlingProperty::IsNullWritePeriod ( const Safir::Dob::Typesystem::ObjectPtr object)
static

◆ IsReadOnlyWritePeriod()

static bool Safir::Dob::PersistenceThrottlingProperty::IsReadOnlyWritePeriod ( const Safir::Dob::Typesystem::ObjectPtr object)
static

◆ SetNullWritePeriod()

static void Safir::Dob::PersistenceThrottlingProperty::SetNullWritePeriod ( Safir::Dob::Typesystem::ObjectPtr object)
static

◆ SetWritePeriod()

static void Safir::Dob::PersistenceThrottlingProperty::SetWritePeriod ( Safir::Dob::Typesystem::ObjectPtr object,
const Safir::Dob::Typesystem::Si32::Second value )
static

Zero or negative values will be treated as no throttling wanted.

Member Data Documentation

◆ ClassTypeId

const Safir::Dob::Typesystem::TypeId Safir::Dob::PersistenceThrottlingProperty::ClassTypeId = -2558933252538908149LL
static