◆ ShareUsageBase() [1/3]
fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageBase.ShareUsageBase | ( | Logger | logger, |
double | sharePercentage, | ||
int | minimumEntriesPerMessage, | ||
int | maximumQueueSize, | ||
int | addTimeout, | ||
int | takeTimeout, | ||
int | repeatEvidenceIntervalMinutes, | ||
boolean | trackSession, | ||
String | shareUsageUrl, | ||
List< String > | blockedHttpHeaders, | ||
List< String > | includedQueryStringParameters, | ||
List< Map.Entry< String, String >> | ignoreDataEvidenceFilter | ||
) |
protected
Constructor.
- Parameters
-
- logger - the logger to use
- sharePercentage - the approximate proportion of requests to share. 1 = 100%, 0.5 = 50%, etc.
- minimumEntriesPerMessage - the minimum number of request entries per message sent to 51Degrees
- maximumQueueSize - the maximum number of items to hold in the queue at one time. This must be larger than minimum entries
- addTimeout - the timeout in milliseconds to allow when attempting to add an item to the queue. If this timeout is exceeded then usage sharing will be disabled
- takeTimeout - the timeout in milliseconds to allow when attempting to take an item to the queue
- repeatEvidenceIntervalMinutes - the interval (in minutes) which is used to decide if repeat evidence is old enough to consider a new session
- trackSession - set if the tracker should consider sessions in share usage
- shareUsageUrl - the URL to send data to
- blockedHttpHeaders - a list of the names of the HTTP headers that share usage should not send to 51Degrees
- includedQueryStringParameters - a list of the names of query string parameters that share usage should send to 51Degrees
- ignoreDataEvidenceFilter - the filter used to determine if an item of evidence should be ignored or not