51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java

fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageBuilderBase< T > Class Template Reference abstract

Detailed Description

Abstract base class for ShareUsageElement builders.

Parameters
<T> - element type

Inheritance diagram for fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageBuilderBase< T >:

[legend]

Collaboration diagram for fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageBuilderBase< T >:

[legend]

Public Member Functions

 ShareUsageBuilderBase (ILoggerFactory loggerFactory)
Constructor. More...
 ShareUsageBuilderBase (ILoggerFactory loggerFactory, Logger logger)
Constructor. More...
ShareUsageBuilderBase< T >  setIncludedQueryStringParameters (List< String > queryStringParameterNames)
Add parameter names to the (case insensitive) list of names of query string parameters that will be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  setIncludedQueryStringParameters (String queryStringParameterNames)
Add parameter names to the (case insensitive) list of names of query string parameters that will be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  setIncludedQueryStringParameter (String queryStringParameterName)
Add a parameter name to the (case insensitive) list of names of query string parameters that will be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  setBlockedHttpHeaders (List< String > blockedHeaders)
Set the (case insensitive) names of HTTP headers that will not be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  setBlockedHttpHeader (String blockedHeader)
Add a header to the (case insensitive) list of names of HTTP headers that will not be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  setIgnoreFlowDataEvidenceFilter (String evidenceFilter)
Adds evidence key:values to the filter such that requests which contain this evidence are ignored. More...
ShareUsageBuilderBase< T >  setSharePercentage (double sharePercentage)
Set the percentage of data that the ShareUsageElement should be sharing. More...
ShareUsageBuilderBase< T >  setMinimumEntriesPerMessage (int minimumEntriesPerMessage)
Set the minimum number of entries to be aggregated by the ShareUsageElement before they are sent to the remote service. More...
ShareUsageBuilderBase< T >  setMaximumQueueSize (int size)
Set the maximum number of entries to be stored in the queue to be sent. More...
ShareUsageBuilderBase< T >  setAddTimeout (int milliseconds)
Set the timeout in milliseconds to allow when attempting to add an item to the queue. More...
ShareUsageBuilderBase< T >  setTakeTimeout (int milliseconds)
Set the timeout in milliseconds to allow when attempting to take an item from the queue in order to send to the remote service. More...
ShareUsageBuilderBase< T >  setShareUsageUrl (String shareUsageUrl)
Set the URL to use when sharing usage data. More...
ShareUsageBuilderBase< T >  setSessionCookieName (String cookieName)
Set the name of the cookie that contains the session id. More...
ShareUsageBuilderBase< T >  setRepeatEvidenceIntervalMinutes (int interval)
Set the interval which determines if a non-unique piece of evidence is repeat evidence or new. More...
ShareUsageBuilderBase< T >  setTrackSession (boolean track)
Enable or disable session tracking. More...
abstract T  build () throws IOException

Protected Attributes

final ILoggerFactory  loggerFactory
int  repeatEvidenceInterval
double  sharePercentage = 1
int  minimumEntriesPerMessage = 50
int  maximumQueueSize = Constants.SHARE_USAGE_DEFAULT_MAX_QUEUE_SIZE
int  addTimeout = Constants.SHARE_USAGE_DEFAULT_ADD_TIMEOUT
int  takeTimeout = Constants.SHARE_USAGE_DEFAULT_TAKE_TIMEOUT
String  shareUsageUrl = Constants.SHARE_USAGE_DEFAULT_URL
String  sessionCookieName = fiftyone.pipeline.engines.Constants.DEFAULT_SESSION_COOKIE_NAME
List< String >  blockedHttpHeaders = new ArrayList<>()
final List< String >  includedQueryStringParameters = new ArrayList<>()
final List< Map.Entry< String, String > >  ignoreDataEvidenceFilter = new ArrayList<>()
boolean  trackSession

Constructor & Destructor Documentation

Member Function Documentation