Class StatisticsLiveScoutEntityEventHandler
java.lang.Object
com.sportradar.livedata.sdk.dispatch.livescout.EntityEventHandler
com.sportradar.livedata.sdk.dispatch.livescout.LoggingEntityEventHandler
com.sportradar.livedata.sdk.dispatch.livescout.StatisticsLiveScoutEntityEventHandler
- All Implemented Interfaces:
com.lmax.disruptor.EventHandler<LiveScoutDispatcherContainer>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStatisticsLiveScoutEntityEventHandler(int id, int dispatcherCount, LiveScoutFeedListener listener, LiveScoutFeed feed, LiveScoutStatisticsCounter counter) Initializes a new instance of theEntityEventHandlerclass -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddispatchFullMatchUpdateReceived(MatchUpdateEntity matchUpdate) protected voiddispatchLineups(LineupsEntity entity) protected voidprotected voiddispatchMatchData(MatchDataEntity matchData) protected voiddispatchMatchList(MatchListEntity entity) protected voidprotected voiddispatchMatchStop(MatchStopEntity entity) protected voiddispatchMatchUpdate(MatchUpdateEntity matchUpdate) protected voiddispatchOnMatchDeltaUpdateDeltaReceived(MatchUpdateEntity matchUpdate) protected voiddispatchOnMatchDeltaUpdateReceived(MatchUpdateEntity matchUpdate) Methods inherited from class com.sportradar.livedata.sdk.dispatch.livescout.LoggingEntityEventHandler
dispatchServerTimeMethods inherited from class com.sportradar.livedata.sdk.dispatch.livescout.EntityEventHandler
dispatchFullPaginatedMatchUpdateReceived, onEvent
-
Constructor Details
-
StatisticsLiveScoutEntityEventHandler
protected StatisticsLiveScoutEntityEventHandler(int id, int dispatcherCount, LiveScoutFeedListener listener, LiveScoutFeed feed, LiveScoutStatisticsCounter counter) Initializes a new instance of theEntityEventHandlerclass- Parameters:
id- The id of the currentEntityEventHandlerused to determine which messages will be processed by the current instance.dispatcherCount- The number ofEntityEventHandlerinstances handling user eventslistener- TheLiveScoutFeedListenerinstance used to inform the user about incoming messagesfeed- TheLiveScoutFeedwhich will be passed to method calls on the user provided listenercounter- TheLiveScoutStatisticsCounterused for counting entity calls
-
-
Method Details
-
dispatchMatchUpdate
- Overrides:
dispatchMatchUpdatein classLoggingEntityEventHandler
-
dispatchLineups
- Overrides:
dispatchLineupsin classLoggingEntityEventHandler
-
dispatchMatchBooking
- Overrides:
dispatchMatchBookingin classLoggingEntityEventHandler
-
dispatchOnMatchDeltaUpdateDeltaReceived
- Overrides:
dispatchOnMatchDeltaUpdateDeltaReceivedin classLoggingEntityEventHandler
-
dispatchOnMatchDeltaUpdateReceived
- Overrides:
dispatchOnMatchDeltaUpdateReceivedin classLoggingEntityEventHandler
-
dispatchFullMatchUpdateReceived
- Overrides:
dispatchFullMatchUpdateReceivedin classLoggingEntityEventHandler
-
dispatchMatchStop
- Overrides:
dispatchMatchStopin classLoggingEntityEventHandler
-
dispatchMatchData
- Overrides:
dispatchMatchDatain classLoggingEntityEventHandler
-
dispatchMatchListUpdate
- Overrides:
dispatchMatchListUpdatein classLoggingEntityEventHandler
-
dispatchMatchList
- Overrides:
dispatchMatchListin classLoggingEntityEventHandler
-