Package org.jjazz.analytics.spi
Interface AnalyticsProcessor
public interface AnalyticsProcessor
A processor of feature analytics events.
Authorized value classes: String, Long, Float, Boolean, or a Collection of one these classes.
The Analytics class will call the relevant methods on each service provider instance found in the global lookup.
-
Method Summary
Modifier and TypeMethodDescriptionvoidincrementProperties(Map<String, Long> properties) Increment numeric properties of the current JJazzLab computer by the corresponding Long value.voidLog a generic event with no properties.voidGeneric event with properties.voidsetProperties(Map<String, ?> properties) Update the properties of the current JJazzLab computer.voidsetPropertiesOnce(Map<String, ?> properties) Update the properties of the current JJazzLab computer only if they are not already set.
-
Method Details
-
logEvent
Log a generic event with no properties.- Parameters:
eventName-
-
logEvent
Generic event with properties.- Parameters:
eventName-properties- Authorized value classes: String, Integer, Long, Float, Boolean, or a Collection of one these classes.
-
setProperties
Update the properties of the current JJazzLab computer.- Parameters:
properties- Authorized value classes: String, Integer, Long, Float, Boolean, or a Collection of one these classes.- See Also:
-
setPropertiesOnce
Update the properties of the current JJazzLab computer only if they are not already set.- Parameters:
properties- Authorized value classes: String, Integer, Long, Float, Boolean, or a Collection of one these classes.- See Also:
-
incrementProperties
Increment numeric properties of the current JJazzLab computer by the corresponding Long value.- Parameters:
properties-- See Also:
-