51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java

fiftyone.pipeline.engines.fiftyone.trackers.ShareUsageTracker Class Reference

Detailed Description

A tracker used by share usage to attempt to avoid repeatedly sending data relating to the same user session.

Inheritance diagram for fiftyone.pipeline.engines.fiftyone.trackers.ShareUsageTracker:

[legend]

Collaboration diagram for fiftyone.pipeline.engines.fiftyone.trackers.ShareUsageTracker:

[legend]

Public Member Functions

 ShareUsageTracker (CacheConfiguration configuration, long intervalMillis, EvidenceKeyFilter filter)
Construct a new instance. More...

Public Member Functions inherited from fiftyone.pipeline.engines.trackers.TrackerBase< T >

 TrackerBase (CacheConfiguration config)
Construct a new instance. More...
boolean  track (FlowData flowData)
Track the specified FlowData instance. More...

Public Member Functions inherited from fiftyone.pipeline.engines.caching.DataKeyedCacheBase< V >

 DataKeyedCacheBase (CacheConfiguration configuration)
Construct a new instance. More...
V  get (FlowData flowData)
void  put (FlowData flowData, V value)
void  close () throws IOException

Public Member Functions inherited from fiftyone.caching.PutCache< K, V >

void  put (K key, V value)
Add an item to the cache. More...

Public Member Functions inherited from fiftyone.caching.Cache< K, V >

V  get (K key)
Retrieves the value for key requested. More...

Protected Member Functions

Date  newValue (FlowData data)
boolean  match (FlowData data, Date value)
EvidenceKeyFilter  getFilter ()

Protected Member Functions inherited from fiftyone.pipeline.engines.trackers.TrackerBase< T >

abstract T  newValue (FlowData data)
Create a tracker value instance. More...
abstract boolean  match (FlowData data, T value)
Update the tracker value with relevant details. More...

Protected Member Functions inherited from fiftyone.pipeline.engines.caching.DataKeyedCacheBase< V >

abstract EvidenceKeyFilter  getFilter ()
Returns the EvidenceKeyFilter to use when generating a key from FlowData instances. More...

Constructor & Destructor Documentation

◆ ShareUsageTracker()

fiftyone.pipeline.engines.fiftyone.trackers.ShareUsageTracker.ShareUsageTracker ( CacheConfiguration   configuration,
long   intervalMillis,
EvidenceKeyFilter   filter  
)

Construct a new instance.

Parameters
configuration - the cache configuration to use when building the internal cache used by this tracker
intervalMillis - interval between matched in millis
filter - the EvidenceKeyFilter that defines the evidence values to use when creating a key from an FlowData