51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java
  • fiftyone
  • pipeline
  • engines
  • trackers
  • Tracker

fiftyone.pipeline.engines.trackers.Tracker Interface Reference

Detailed Description

Represents a 'tracker'.

A tracker is a data structure that stores meta-data relating to a key derived from a given FlowData instance. This meta-data is used to determine if the FlowData should continue to be processed or not.

The details of key creation and the specifics of the meta-data are determined by the tracker implementation.

As an example, a tracker could create a key using the source IP address from the FlowData evidence and use the associated meta-data to store a count of the number of times a given source IP has been seen.

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

[legend]

Public Member Functions

boolean  track (FlowData flowData)
Track the specified FlowData instance. More...

Member Function Documentation

◆ track()

boolean fiftyone.pipeline.engines.trackers.Tracker.track ( FlowData   flowData )

Track the specified FlowData instance.

If the key created from the data does not yet exist in the tracker then it will be added. If it does already exist then the meta-data will be updated according to the tracker implementation's logic.

Parameters
flowData - the FlowData to track
Returns
true if further processing is allowed by the tracker's logic, false otherwise

Implemented in fiftyone.pipeline.engines.trackers.TrackerBase< T >.