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.

Static 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.
const string DEFAULT_ASP_COOKIE_NAME = "asp.net_sessionid"
 The default name of the cookie that holds the ID for the ASP.NET session.
const string DEFAULT_JSON_ENDPOINT = "/51dpipeline/json"
 The default endpoint for the JavaScript to call when requesting json data.
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.
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.
const int DATA_FILE_DEFAULT_UPDATE_POLLING_SECONDS = 30 * 60
 Default polling interval for the data update service in seconds.
const int DATA_UPDATE_POLLING_DEFAULT = DATA_FILE_DEFAULT_UPDATE_POLLING_SECONDS
 Default polling interval for the data update service in seconds.
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.
const int DATA_UPDATE_RANDOMISATION_DEFAULT = 10 * 60
 Default randomization to be applied to the calculated data file update timer interval in seconds.
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.
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.
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.
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.
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.
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.
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.
const int LAZY_LOADING_DEFAULT_TIMEOUT_MS = 1000
 Default timeout value when accessing a property from an engine with lazy loading enabled.
const int CACHE_DEFAULT_SIZE = 1000
 Default size for engine caches.
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.

Member Data Documentation

◆ DATA_UPDATE_POLLING_DEFAULT

const int FiftyOne.Pipeline.Engines.Constants.DATA_UPDATE_POLLING_DEFAULT = DATA_FILE_DEFAULT_UPDATE_POLLING_SECONDS
static

Default polling interval for the data update service in seconds.

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

◆ DATA_UPDATE_RANDOMISATION_DEFAULT

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

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.