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>
public final class StatisticsLiveScoutEntityEventHandler extends LoggingEntityEventHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StatisticsLiveScoutEntityEventHandler(int id, int dispatcherCount, LiveScoutFeedListener listener, LiveScoutFeed feed, LiveScoutStatisticsCounter counter)
Initializes a new instance of theEntityEventHandler
class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispatchFullMatchUpdateReceived(MatchUpdateEntity matchUpdate)
protected void
dispatchLineups(LineupsEntity entity)
protected void
dispatchMatchBooking(MatchBookingEntity entity)
protected void
dispatchMatchData(MatchDataEntity matchData)
protected void
dispatchMatchList(MatchListEntity entity)
protected void
dispatchMatchListUpdate(MatchListUpdateEntity entity)
protected void
dispatchMatchStop(MatchStopEntity entity)
protected void
dispatchMatchUpdate(MatchUpdateEntity matchUpdate)
protected void
dispatchOnMatchDeltaUpdateDeltaReceived(MatchUpdateEntity matchUpdate)
protected void
dispatchOnMatchDeltaUpdateReceived(MatchUpdateEntity matchUpdate)
-
Methods inherited from class com.sportradar.livedata.sdk.dispatch.livescout.LoggingEntityEventHandler
dispatchServerTime
-
Methods inherited from class com.sportradar.livedata.sdk.dispatch.livescout.EntityEventHandler
dispatchFullPaginatedMatchUpdateReceived, onEvent
-
-
-
-
Constructor Detail
-
StatisticsLiveScoutEntityEventHandler
protected StatisticsLiveScoutEntityEventHandler(int id, int dispatcherCount, LiveScoutFeedListener listener, LiveScoutFeed feed, LiveScoutStatisticsCounter counter)
Initializes a new instance of theEntityEventHandler
class- Parameters:
id
- The id of the currentEntityEventHandler
used to determine which messages will be processed by the current instance.dispatcherCount
- The number ofEntityEventHandler
instances handling user eventslistener
- TheLiveScoutFeedListener
instance used to inform the user about incoming messagesfeed
- TheLiveScoutFeed
which will be passed to method calls on the user provided listenercounter
- TheLiveScoutStatisticsCounter
used for counting entity calls
-
-
Method Detail
-
dispatchMatchUpdate
protected void dispatchMatchUpdate(MatchUpdateEntity matchUpdate)
- Overrides:
dispatchMatchUpdate
in classLoggingEntityEventHandler
-
dispatchLineups
protected void dispatchLineups(LineupsEntity entity)
- Overrides:
dispatchLineups
in classLoggingEntityEventHandler
-
dispatchMatchBooking
protected void dispatchMatchBooking(MatchBookingEntity entity)
- Overrides:
dispatchMatchBooking
in classLoggingEntityEventHandler
-
dispatchOnMatchDeltaUpdateDeltaReceived
protected void dispatchOnMatchDeltaUpdateDeltaReceived(MatchUpdateEntity matchUpdate)
- Overrides:
dispatchOnMatchDeltaUpdateDeltaReceived
in classLoggingEntityEventHandler
-
dispatchOnMatchDeltaUpdateReceived
protected void dispatchOnMatchDeltaUpdateReceived(MatchUpdateEntity matchUpdate)
- Overrides:
dispatchOnMatchDeltaUpdateReceived
in classLoggingEntityEventHandler
-
dispatchFullMatchUpdateReceived
protected void dispatchFullMatchUpdateReceived(MatchUpdateEntity matchUpdate)
- Overrides:
dispatchFullMatchUpdateReceived
in classLoggingEntityEventHandler
-
dispatchMatchStop
protected void dispatchMatchStop(MatchStopEntity entity)
- Overrides:
dispatchMatchStop
in classLoggingEntityEventHandler
-
dispatchMatchData
protected void dispatchMatchData(MatchDataEntity matchData)
- Overrides:
dispatchMatchData
in classLoggingEntityEventHandler
-
dispatchMatchListUpdate
protected void dispatchMatchListUpdate(MatchListUpdateEntity entity)
- Overrides:
dispatchMatchListUpdate
in classLoggingEntityEventHandler
-
dispatchMatchList
protected void dispatchMatchList(MatchListEntity entity)
- Overrides:
dispatchMatchList
in classLoggingEntityEventHandler
-
-