Constructors |
| ConfigHash ()
|
| ConfigHash (fiftyoneDegreesConfigHash *config)
Construct a new instance using the configuration provided. More...
|
Setters |
void
| setHighPerformance ()
Set the collections to use the high performance configuration. More...
|
void
| setBalanced ()
Set the collections to use the balanced configuration. More...
|
void
| setBalancedTemp ()
Set the collections to use the balanced temp configuration. More...
|
void
| setLowMemory ()
Set the collections to use the low memory configuration. More...
|
void
| setMaxPerformance ()
Set the collections to use the entirely in memory configuration. More...
|
void
| setDifference (int32_t difference)
Set the maximum difference in hash value to allow when finding hashes during the processing of HTTP headers. More...
|
void
| setDrift (int32_t drift)
Set the maximum drift to allow when matching hashes. More...
|
void
| setUsePerformanceGraph (bool use)
Set whether or not the performance optimized graph is used for processing. More...
|
void
| setUsePredictiveGraph (bool use)
Set whether or not the predictive optimized graph is used for processing. More...
|
void
| setConcurrency (uint16_t concurrency)
Set the expected concurrent requests for all the data set's collections. More...
|
void
| setTraceRoute (bool shouldTrace)
Sets whether the route through each graph should be traced during processing. More...
|
Getters |
CollectionConfig
| getStrings ()
Get the configuration for the strings collection. More...
|
CollectionConfig
| getProperties ()
Get the configuration for the properties collection. More...
|
CollectionConfig
| getValues ()
Get the configuration for the values collection. More...
|
CollectionConfig
| getProfiles ()
Get the configuration for the profiles collection. More...
|
CollectionConfig
| getNodes ()
Get the configuration for the nodes collection. More...
|
CollectionConfig
| getProfileOffsets ()
Get the configuration for the profile offsets collection. More...
|
int
| getDrift ()
Gets the drift value that should be used for all device detection requests. More...
|
int
| getDifference ()
Gets the difference value that should be used for all device detection requests. More...
|
bool
| getUsePerformanceGraph ()
Get whether or not the performance optimized graph is used for processing. More...
|
bool
| getUsePredictiveGraph ()
Get whether or not the predicitive optimized graph is used for processing. More...
|
uint16_t
| getConcurrency () const
Get the lowest concurrency value in the list of possible concurrencies. More...
|
bool
| getTraceRoute ()
Gets whether the route through each graph should be traced during processing. More...
|
fiftyoneDegreesConfigHash *
| getConfig ()
Gets the configuration data structure for use in C code. More...
|
|
| ConfigDeviceDetection (fiftyoneDegreesConfigDeviceDetection *config)
Constructs a new instance of the configuration with a reference to the C configuration provided. More...
|
void
| setUpdateMatchedUserAgent (bool update)
Set whether or not the matched User-Agent should be constructed. More...
|
void
| setMaxMatchedUserAgentLength (int length)
Set the maximum length string to be allocated to the matched User-Agent. More...
|
void
| setAllowUnmatched (bool allow)
Set whether there should be at least one matched hash node (or substring) in order for the results to be considered valid. More...
|
bool
| getUpdateMatchedUserAgent ()
Gets whether the characters matched during processing should be stored in results. More...
|
int
| getMaxMatchedUserAgentLength ()
If the matched User-Agent characters should be stored the maximum number which should be available. More...
|
bool
| getAllowUnmatched ()
Get whether there should be at least one matched hash node (or substring) in order for the results to be considered valid. More...
|
|
| ConfigBase (fiftyoneDegreesConfigBase *config)
Constructs a new instance of the configuration with a reference to the C configuration provided. More...
|
virtual
| ~ConfigBase ()
Free any memory associated with temporary directories.
|
void
| setUseUpperPrefixHeaders (bool use)
Set whether or not the HTTP header field might be prefixed with 'HTTP_'. More...
|
void
| setUseTempFile (bool use)
Set whether or not a temporary file should be created from the original data file and used to initialise the data set. More...
|
void
| setReuseTempFile (bool reuse)
Set whether or not a temporary file that already exists for a master file should be reused by another process. More...
|
void
| setTempDirectories (vector< string > tempDirs)
Sets a collection of temporary directories to use if temporary file operation is required in the order in which the directories should be used. More...
|
bool
| getUseUpperPrefixHeaders () const
Get whether or not an HTTP_ upper case prefixes should be considered when evaluating HTTP headers. More...
|
bool
| getUseTempFile () const
Get whether or not a temporary file should be created from the original data file and used to initialise the data set. More...
|
bool
| getReuseTempFile () const
Get whether temporary files can be reused across multiple processes. More...
|
vector< string >
| getTempDirectories () const
Gets a vector of temporary directory strings which should be used to store temporary files. More...
|