Fledge
An open source edge computing platform for industrial users
PurgeConfiguration Class Reference

Public Member Functions

void exclude (const std::string &asset)
 Add an asset to the exclusion list. More...
 
bool hasExclusions ()
 
bool isExcluded (const std::string &asset)
 Check if the named asset appears in the exclusion list. More...
 
void minimumRetained (uint32_t minimum)
 Set the minimum number of rows to retian for each asset. More...
 
uint32_t getMinimumRetained ()
 

Static Public Member Functions

static PurgeConfigurationgetInstance ()
 Return the singleton instance of the PurgeConfiguration class for this plugin. More...
 

Member Function Documentation

◆ exclude()

void PurgeConfiguration::exclude ( const std::string &  asset)

Add an asset to the exclusion list.

Parameters
assetthe asset to add to the exclusion list

◆ getInstance()

PurgeConfiguration * PurgeConfiguration::getInstance ( )
static

Return the singleton instance of the PurgeConfiguration class for this plugin.

Returns
PurgeConfiguration* singleton instance

◆ isExcluded()

bool PurgeConfiguration::isExcluded ( const std::string &  asset)

Check if the named asset appears in the exclusion list.

Parameters
assetAsset to check for exclusion
Returns
True if the asset is excluded

◆ minimumRetained()

void PurgeConfiguration::minimumRetained ( uint32_t  minimum)

Set the minimum number of rows to retian for each asset.

Parameters
minimumMinimum number of rows to retain

The documentation for this class was generated from the following files: