51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java

fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageElement Class Reference

Detailed Description

Flow element that sends usage data to 51Degrees for analysis.

The type and quantity of data being sent can be customised using the options on the constructor. By default, data is queued until there are at least 50 items in memory. It is then serialised to an XML file and sent to the specified URL.

Inheritance diagram for fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageElement:

[legend]

Collaboration diagram for fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageElement:

[legend]

Protected Member Functions

void  buildAndSendXml () throws HttpException

Protected Member Functions inherited from 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)
Constructor. More...
 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, String sessionCookieName)
Constructor. More...
 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, String sessionCookieName, Tracker tracker)
Constructor. More...
void  processInternal (FlowData flowData) throws Exception
void  cancel ()
Cancel the sending of usage data.
void  managedResourcesCleanup ()
void  unmanagedResourcesCleanup ()
void  trySendData ()
Attempt to send the data to the remote service. More...
abstract void  buildAndSendXml () throws HttpException
void  buildData (XmlBuilder builder, ShareUsageData data)
Virtual method to be overridden in extending usage share elements. More...
void  buildDeviceData (XmlBuilder builder, ShareUsageData data)
Write the specified device data using the specified writer. More...
void  writePipelineInfo (XmlBuilder builder)
Method to write details about the pipeline. More...

Protected Member Functions inherited from fiftyone.pipeline.core.flowelements.FlowElementBase< TData extends ElementData, TProperty extends ElementPropertyMetaData >

abstract void  processInternal (FlowData data) throws Exception
Abstract method to be overridden by a FlowElement author. More...
abstract void  managedResourcesCleanup ()
Cleanup any managed resources that the element is using.
abstract void  unmanagedResourcesCleanup ()
Cleanup any unmanaged resources that the element is using.
void  close (boolean closing)
void  finalize () throws Throwable