Package com.kaltura.client.services
Class StatsService
- java.lang.Object
-
- com.kaltura.client.services.StatsService
-
public class StatsService extends Object
Stats Service
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatsService.CollectStatsBuilderstatic classStatsService.KmcCollectStatsBuilderstatic classStatsService.ReportDeviceCapabilitiesStatsBuilderstatic classStatsService.ReportErrorStatsBuilderstatic classStatsService.ReportKceErrorStatsBuilder
-
Constructor Summary
Constructors Constructor Description StatsService()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatsService.CollectStatsBuildercollect(StatsEvent event)Will write to the event log a single line representing the event client version - will help interpret the line structure.static StatsService.KmcCollectStatsBuilderkmcCollect(StatsKmcEvent kmcEvent)Will collect the kmcEvent sent form the KMC client // this will actually be an empty function because all events will be sent using GET and will anyway be logged in the Apache logstatic StatsService.ReportDeviceCapabilitiesStatsBuilderreportDeviceCapabilities(String data)Use this action to report device capabilities to the kaltura server.static StatsService.ReportErrorStatsBuilderreportError(String errorCode, String errorMessage)Use this action to report errors to the kaltura server.static StatsService.ReportKceErrorStatsBuilderreportKceError(CEError kalturaCEError)
-
-
-
Method Detail
-
collect
public static StatsService.CollectStatsBuilder collect(StatsEvent event)
Will write to the event log a single line representing the event client version - will help interpret the line structure. Different client versions might have slightly different data/data formats in the line event_id - number is the row number in yuval's excel datetime - same format as MySql's datetime - can change and should reflect the time zone session id - can be some big random number or guid partner id entry id unique viewer widget id ui_conf id uid - the puser id as set by the ppartner current point - in milliseconds duration - milliseconds user ip process duration - in milliseconds control id seek new point referrer KalturaStatsEvent $event- Parameters:
event-
-
kmcCollect
public static StatsService.KmcCollectStatsBuilder kmcCollect(StatsKmcEvent kmcEvent)
Will collect the kmcEvent sent form the KMC client // this will actually be an empty function because all events will be sent using GET and will anyway be logged in the Apache log- Parameters:
kmcEvent-
-
reportDeviceCapabilities
public static StatsService.ReportDeviceCapabilitiesStatsBuilder reportDeviceCapabilities(String data)
Use this action to report device capabilities to the kaltura server.- Parameters:
data-
-
reportError
public static StatsService.ReportErrorStatsBuilder reportError(String errorCode, String errorMessage)
Use this action to report errors to the kaltura server.- Parameters:
errorCode-errorMessage-
-
reportKceError
public static StatsService.ReportKceErrorStatsBuilder reportKceError(CEError kalturaCEError)
-
-