Modifier and Type | Interface and Description |
---|---|
interface |
IBMultiMatch<E extends IBMultiEvent> |
Modifier and Type | Interface and Description |
---|---|
interface |
IB2Match
A representation of matches which only have two participants
|
Modifier and Type | Interface and Description |
---|---|
interface |
BasketballMatch
A representation of basketball matches which only have two participants
|
Modifier and Type | Class and Description |
---|---|
class |
Snapshot<M extends IBetMatch> |
Modifier and Type | Class and Description |
---|---|
class |
B2Match |
class |
BetMatch |
Modifier and Type | Interface and Description |
---|---|
interface |
SoccerMatch
A representation of soccer matches which only have two participants
|
Modifier and Type | Interface and Description |
---|---|
interface |
TennisMatch
A representation of tennis matches which only have two participants
|
Modifier and Type | Class and Description |
---|---|
class |
DeleteMatch<M extends IBetMatch>
This class is used when matches are deleted in snapshot.
|
interface |
DeltaEventHandler<M extends IBetMatch,E extends IBetEvent,R extends IBetRecord>
DeltaEventHandler handles delta snapshots.The function that will be triggered first is onFullSnapshotStart().The onFullSnapshotStart() indicates that this is the begining of the full snapshot.The following message will be the onInsertMatch and the very first onInsertMatch will contain the events and odds in the INSERT_MATCH message.Subsequently will receive onInsertEvent message followed by onInsertOdd.The onFullSnapshotEnd() indicates that the full snapshot is received completely.
For Match Insertion in sequence will be: 1.onInsertMatch 2.onInsertEvent (insert event always appear before a child insert odd msg) 3.onInsertOdd For Match Deletion in sequence will be: 1.onDeleteOdd (an odd always be deleted before the parent event is removed) 2.onDeleteEvent 3.onDeleteMatch Implement this interface to call methods whenever there is change is snapshot data |
class |
FeedView<M extends IBetMatch>
Views perform filtering on feed data.
|
class |
InsertMatch<M extends IBetMatch>
This class is used when matches are inserted in snapshot.
|
class |
UpdateMatch<M extends IBetMatch>
This class is used when matches are updated in snapshot.
|
Modifier and Type | Method and Description |
---|---|
<M extends IBetMatch> |
SportsFeedClient.removeView(FeedView<M> view)
Releases the resources associated with the view.
|
<M extends IBetMatch> |
SportsFeedClient.view(java.lang.Class<M> clazz)
Create view without filter
|
<M extends IBetMatch> |
SportsFeedClient.view(jayeson.model.IDataFilter filter,
java.lang.Class<M> clazz)
Create a view with filter
|
Constructor and Description |
---|
DeleteEvent(jayeson.lib.feed.api.ISnapshot<? extends IBetMatch> snapshot,
java.util.Collection<E> event) |
DeleteMatch(jayeson.lib.feed.api.ISnapshot<? extends IBetMatch> snapshot,
java.util.Collection<M> match) |
DeleteOdd(jayeson.lib.feed.api.ISnapshot<? extends IBetMatch> snapshot,
java.util.Collection<R> record) |
InsertEvent(jayeson.lib.feed.api.ISnapshot<? extends IBetMatch> snapshot,
java.util.Collection<E> event) |
InsertMatch(jayeson.lib.feed.api.ISnapshot<? extends IBetMatch> snapshot,
java.util.Collection<M> match) |
InsertOdd(jayeson.lib.feed.api.ISnapshot<? extends IBetMatch> snapshot,
java.util.Collection<R> record) |
Reset(jayeson.lib.feed.api.ISnapshot<? extends IBetMatch> snapshot,
java.util.Collection<PartitionKey> keys) |
SportsFeedClient(jayeson.lib.delivery.module.subscriber.ISubscriber subscriber,
jayeson.lib.sports.receive.SportsFeedInConfig config,
FeedView<IBetMatch> viewTemplate,
jayeson.lib.sports.receive.InEndPointEventHandler eventHandler,
jayeson.lib.sports.receive.SportsFeedInProcessor inProcessor,
java.util.concurrent.ScheduledExecutorService executor) |
UpdateEvent(jayeson.lib.feed.api.ISnapshot<? extends IBetMatch> snapshot,
java.util.Collection<E> event) |
UpdateMatch(jayeson.lib.feed.api.ISnapshot<? extends IBetMatch> snapshot,
java.util.Collection<M> match) |
UpdateOdd(jayeson.lib.feed.api.ISnapshot<? extends IBetMatch> snapshot,
java.util.Collection<R> odd) |
Modifier and Type | Method and Description |
---|---|
boolean |
LeagueKeywordFilterRule.isComplied(IBetMatch match) |
boolean |
SportFilterRule.isComplied(IBetMatch match) |
boolean |
MatchIdFilterRule.isComplied(IBetMatch match) |
boolean |
TeamKeywordFilterRule.isComplied(IBetMatch match) |
boolean |
StartTimeRangeFilterRule.isComplied(IBetMatch match) |
boolean |
ExactLeagueFilterRule.isComplied(IBetMatch match) |