\r\n

51Degrees Pipeline .NET  4.4

51Degrees Pipeline for .NET

FiftyOne.Pipeline.Engines.Constants Class Reference

Detailed Description

Static class containing various constants that are used by the Pipeline and/or are helpful to callers.

Public Attributes

const string  FIFTYONE_COOKIE_PREFIX = "51d_"
The prefix that is added to all cookies set by 51Degrees client-side code that can be used as evidence. More...
const string  DEFAULT_ASP_COOKIE_NAME = "asp.net_sessionid"
The default name of the cookie that holds the ID for the ASP.NET session. More...
const string  DEFAULT_JSON_ENDPOINT = "/51dpipeline/json"
The default endpoint for the JavaScript to call when requesting json data More...
const bool  DATA_FILE_DEFAULT_AUTO_UPDATES_ENABLED = true
Default value for the flag that controls whether data files automatically look for updates or not. More...
const bool  DATA_FILE_DEFAULT_FILESYSTEMWATCHER_ENABLED = true
Default value for the flag that controls whether the file system watcher is enabled for a data file or not. More...
const int  DATA_FILE_DEFAULT_UPDATE_POLLING_SECONDS = 30 * 60
Default polling interval for the data update service in seconds. More...
const int  DATA_UPDATE_POLLING_DEFAULT = DATA_FILE_DEFAULT_UPDATE_POLLING_SECONDS
Default polling interval for the data update service in seconds. More...
const int  DATA_FILE_DEFAULT_RANDOMISATION_SECONDS = 10 * 60
Default maximum randomization to be applied to the calculated data file update timer interval in seconds. More...
const int  DATA_UPDATE_RANDOMISATION_DEFAULT = 10 * 60
Default randomization to be applied to the calculated data file update timer interval in seconds. More...
const bool  DATA_FILE_DEFAULT_DECOMPRESS = true
Default value for the flag that controls whether an update that has been downloaded for a data file will be decompressed or not. More...
const bool  DATA_FILE_DEFAULT_VERIFY_MD5 = true
Default value for the flag that controls whether a 'Content-Md5' header is expected and should be verified when a data file update is downloaded. More...
const bool  DATA_FILE_DEFAULT_VERIFY_MODIFIED_SINCE = true
Default value for the flag that controls whether a the update service should supply and 'If-Modified-Since' header to the data update url when requesting a new data file. More...
const bool  DATA_FILE_DEFAULT_UPDATE_ON_STARTUP = false
Default value for the flag that controls whether a the update service should look for a new data file when the engine is created. More...
const bool  DATA_FILE_DEFAULT_LICENSE_KEY_REQUIRED = false
Default value for the flag that controls whether a license key is required in order for the data update url to supply a data file. More...
const string  DATA_FILE_DEFAULT_IDENTIFIER = "Default"
Default value for the id that is used to differentiate one data file from another for the same engine. More...
const string  DATA_FILE_DEFAULT_UPDATE_OVERRIDE_URL = null
Default value for the url that is used when checking for updates for a data file. More...
const int  LAZY_LOADING_DEFAULT_TIMEOUT_MS = 1000
Default timeout value when accessing a property from an engine with lazy loading enabled. More...
const int  CACHE_DEFAULT_SIZE = 1000
Default size for engine caches More...
const bool  CACHE_DEFAULT_HIT_OR_MISS_ENABLED = false
Default value for the flag that controls whether the cache should be recording hit/miss counts. More...

Member Data Documentation

◆ CACHE_DEFAULT_HIT_OR_MISS_ENABLED

const bool FiftyOne.Pipeline.Engines.Constants.CACHE_DEFAULT_HIT_OR_MISS_ENABLED = false

Default value for the flag that controls whether the cache should be recording hit/miss counts.

◆ CACHE_DEFAULT_SIZE

const int FiftyOne.Pipeline.Engines.Constants.CACHE_DEFAULT_SIZE = 1000

Default size for engine caches

◆ DATA_FILE_DEFAULT_AUTO_UPDATES_ENABLED

const bool FiftyOne.Pipeline.Engines.Constants.DATA_FILE_DEFAULT_AUTO_UPDATES_ENABLED = true

Default value for the flag that controls whether data files automatically look for updates or not.

◆ DATA_FILE_DEFAULT_DECOMPRESS

const bool FiftyOne.Pipeline.Engines.Constants.DATA_FILE_DEFAULT_DECOMPRESS = true

Default value for the flag that controls whether an update that has been downloaded for a data file will be decompressed or not.

◆ DATA_FILE_DEFAULT_FILESYSTEMWATCHER_ENABLED

const bool FiftyOne.Pipeline.Engines.Constants.DATA_FILE_DEFAULT_FILESYSTEMWATCHER_ENABLED = true

Default value for the flag that controls whether the file system watcher is enabled for a data file or not.

◆ DATA_FILE_DEFAULT_IDENTIFIER

const string FiftyOne.Pipeline.Engines.Constants.DATA_FILE_DEFAULT_IDENTIFIER = "Default"

Default value for the id that is used to differentiate one data file from another for the same engine.

◆ DATA_FILE_DEFAULT_LICENSE_KEY_REQUIRED

const bool FiftyOne.Pipeline.Engines.Constants.DATA_FILE_DEFAULT_LICENSE_KEY_REQUIRED = false

Default value for the flag that controls whether a license key is required in order for the data update url to supply a data file.

◆ DATA_FILE_DEFAULT_RANDOMISATION_SECONDS

const int FiftyOne.Pipeline.Engines.Constants.DATA_FILE_DEFAULT_RANDOMISATION_SECONDS = 10 * 60

Default maximum randomization to be applied to the calculated data file update timer interval in seconds.

◆ DATA_FILE_DEFAULT_UPDATE_ON_STARTUP

const bool FiftyOne.Pipeline.Engines.Constants.DATA_FILE_DEFAULT_UPDATE_ON_STARTUP = false

Default value for the flag that controls whether a the update service should look for a new data file when the engine is created.

◆ DATA_FILE_DEFAULT_UPDATE_OVERRIDE_URL

const string FiftyOne.Pipeline.Engines.Constants.DATA_FILE_DEFAULT_UPDATE_OVERRIDE_URL = null

Default value for the url that is used when checking for updates for a data file.

◆ DATA_FILE_DEFAULT_UPDATE_POLLING_SECONDS

const int FiftyOne.Pipeline.Engines.Constants.DATA_FILE_DEFAULT_UPDATE_POLLING_SECONDS = 30 * 60

Default polling interval for the data update service in seconds.

◆ DATA_FILE_DEFAULT_VERIFY_MD5

const bool FiftyOne.Pipeline.Engines.Constants.DATA_FILE_DEFAULT_VERIFY_MD5 = true

Default value for the flag that controls whether a 'Content-Md5' header is expected and should be verified when a data file update is downloaded.

◆ DATA_FILE_DEFAULT_VERIFY_MODIFIED_SINCE

const bool FiftyOne.Pipeline.Engines.Constants.DATA_FILE_DEFAULT_VERIFY_MODIFIED_SINCE = true

Default value for the flag that controls whether a the update service should supply and 'If-Modified-Since' header to the data update url when requesting a new data file.

◆ DATA_UPDATE_RANDOMISATION_DEFAULT

const int FiftyOne.Pipeline.Engines.Constants.DATA_UPDATE_RANDOMISATION_DEFAULT = 10 * 60

Default randomization to be applied to the calculated data file update timer interval in seconds.

This uses the older name. Please use the new name DATA_FILE_DEFAULT_RANDOMISATION_SECONDS which is more consistent with other default values.

◆ DEFAULT_ASP_COOKIE_NAME

const string FiftyOne.Pipeline.Engines.Constants.DEFAULT_ASP_COOKIE_NAME = "asp.net_sessionid"

The default name of the cookie that holds the ID for the ASP.NET session.

◆ DEFAULT_JSON_ENDPOINT

const string FiftyOne.Pipeline.Engines.Constants.DEFAULT_JSON_ENDPOINT = "/51dpipeline/json"

The default endpoint for the JavaScript to call when requesting json data

◆ FIFTYONE_COOKIE_PREFIX

const string FiftyOne.Pipeline.Engines.Constants.FIFTYONE_COOKIE_PREFIX = "51d_"

The prefix that is added to all cookies set by 51Degrees client-side code that can be used as evidence.

◆ LAZY_LOADING_DEFAULT_TIMEOUT_MS

const int FiftyOne.Pipeline.Engines.Constants.LAZY_LOADING_DEFAULT_TIMEOUT_MS = 1000

Default timeout value when accessing a property from an engine with lazy loading enabled.