Class LogEvent
-
- All Implemented Interfaces:
public final class LogEventRepresents a combination of the event related data LogEventAction and the common recorder data parts.
-
-
Field Summary
Fields Modifier and Type Field Description private final FusRecorderrecorderprivate final Stringproductprivate final Map<String, String>idsprivate final Booleaninternalprivate final Longtimeprivate final Stringbuildprivate final Stringsessionprivate final LogEventGroupgroupprivate final Integerbucketprivate final LogEventActioneventprivate final Map<String, Object>system_dataprivate final Map<String, Object>client_data
-
Constructor Summary
Constructors Constructor Description LogEvent(FusRecorder recorder, String product, Map<String, String> ids, Boolean internal, Long time, String build, String session, LogEventGroup group, Integer bucket, LogEventAction event, Map<String, Object> system_data, Map<String, Object> client_data)LogEvent(FusRecorder recorder, String product, Map<String, String> ids, Boolean internal, Long time, String build, String session, LogEventGroup group, Integer bucket, LogEventAction event, Map<String, Object> system_data)LogEvent(FusRecorder recorder, String product, Map<String, String> ids, Boolean internal, Long time, String build, String session, LogEventGroup group, Integer bucket, LogEventAction event)
-
Method Summary
Modifier and Type Method Description final FusRecordergetRecorder()final StringgetProduct()final Map<String, String>getIds()final BooleangetInternal()final LonggetTime()final StringgetBuild()final StringgetSession()final LogEventGroupgetGroup()final IntegergetBucket()final LogEventActiongetEvent()final Map<String, Object>getSystem_data()final Map<String, Object>getClient_data()final BooleanshouldMerge(LogEvent next)-
-
Constructor Detail
-
LogEvent
LogEvent(FusRecorder recorder, String product, Map<String, String> ids, Boolean internal, Long time, String build, String session, LogEventGroup group, Integer bucket, LogEventAction event, Map<String, Object> system_data, Map<String, Object> client_data)
- Parameters:
product- Product code, e.g.ids- Map from names of ids associated with the event to their values, e.g projectId, organisationId.internal- Flag is used to distinguish between internal and external users.time- Unix time epoch of the time when the event occurred, in UTC.build- Product build number.session- In web applications, it is usually a web session.bucket- Buckets are used to regulate the percentage of data that will be sent.system_data- System data, recorded with each event and have common structure for all recorders.client_data- Client data, recorded with each event and specific for certain recorder.
-
LogEvent
LogEvent(FusRecorder recorder, String product, Map<String, String> ids, Boolean internal, Long time, String build, String session, LogEventGroup group, Integer bucket, LogEventAction event, Map<String, Object> system_data)
- Parameters:
product- Product code, e.g.ids- Map from names of ids associated with the event to their values, e.g projectId, organisationId.internal- Flag is used to distinguish between internal and external users.time- Unix time epoch of the time when the event occurred, in UTC.build- Product build number.session- In web applications, it is usually a web session.bucket- Buckets are used to regulate the percentage of data that will be sent.system_data- System data, recorded with each event and have common structure for all recorders.
-
LogEvent
LogEvent(FusRecorder recorder, String product, Map<String, String> ids, Boolean internal, Long time, String build, String session, LogEventGroup group, Integer bucket, LogEventAction event)
- Parameters:
product- Product code, e.g.ids- Map from names of ids associated with the event to their values, e.g projectId, organisationId.internal- Flag is used to distinguish between internal and external users.time- Unix time epoch of the time when the event occurred, in UTC.build- Product build number.session- In web applications, it is usually a web session.bucket- Buckets are used to regulate the percentage of data that will be sent.
-
-
Method Detail
-
getRecorder
final FusRecorder getRecorder()
-
getProduct
final String getProduct()
-
getInternal
final Boolean getInternal()
-
getSession
final String getSession()
-
getGroup
final LogEventGroup getGroup()
-
getEvent
final LogEventAction getEvent()
-
getSystem_data
final Map<String, Object> getSystem_data()
-
getClient_data
final Map<String, Object> getClient_data()
-
shouldMerge
final Boolean shouldMerge(LogEvent next)
-
-
-
-