Modifier and Type | Method and Description |
---|---|
default IBetRecord |
IBetEvent.record(java.lang.String source,
long id)
Retrieve a specific IBetRecord with the particular source name and id
|
Modifier and Type | Method and Description |
---|---|
default java.util.Collection<? extends IBetRecord> |
IBetEvent.getRecords(java.util.List<java.lang.String> bookIdList,
LBType lbType)
Retrieve collection of records by a particular book id list and lay/back type
|
default java.util.Collection<? extends IBetRecord> |
IBetEvent.getRecords(java.lang.String bookId)
Retrieve collection of records by a particular book id
|
default java.util.Collection<? extends IBetRecord> |
IBetEvent.getRecords(java.lang.String bookId,
LBType lbType)
Retrieve collection of records by a particular book id and lay/back type
|
default java.util.Collection<? extends IBetRecord> |
IBetEvent.getRecords(java.lang.String bookId,
OddType oddType)
Retrieve collection of records by a particular book id and odd type
|
default java.util.Collection<? extends IBetRecord> |
IBetEvent.getRecords(java.lang.String bookId,
TimeType timeType)
Retrieve collection of records by a particular book id and time type
|
java.util.Collection<? extends IBetRecord> |
IBetEvent.records()
Retrieve collection of records
|
default java.util.Collection<? extends IBetRecord> |
IBetEvent.records(TimeType t)
Retrieve collection of records by a particular time type object
|
Modifier and Type | Interface and Description |
---|---|
interface |
IBMultiRecord |
Modifier and Type | Interface and Description |
---|---|
interface |
IB2Record |
Modifier and Type | Interface and Description |
---|---|
interface |
BasketballRecord
A representation of basketball records which only have two participants
|
Modifier and Type | Class and Description |
---|---|
class |
B2Record |
class |
BetRecord |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends IBetRecord> |
BetEvent.records()
Retrieve collection of records of the event object
|
Constructor and Description |
---|
BetEvent(java.lang.String id,
java.util.Collection<? extends IBetRecord> records,
java.lang.String matchId,
EventType type,
java.util.Collection<? extends IBetEventState> states,
java.util.Map<java.lang.String,java.lang.String> meta) |
Modifier and Type | Interface and Description |
---|---|
interface |
SoccerRecord
A representation of soccer records which only have two participants
|
Modifier and Type | Interface and Description |
---|---|
interface |
TennisRecord
A representation of tennis records which only have two participants
|
Modifier and Type | Class and Description |
---|---|
class |
DeleteOdd<R extends IBetRecord>
This class is used when odds 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 |
InsertOdd<R extends IBetRecord>
This class is used when odds are inserted in snapshot.
|
class |
UpdateOdd<R extends IBetRecord>
This class is used when records are updated in snapshot.
|
Modifier and Type | Method and Description |
---|---|
<E extends IBetEvent,R extends IBetRecord> |
FeedView.register(DeltaEventHandler<M,E,R> listener)
Register DeltaEventHandler to the view
|
<E extends IBetEvent,R extends IBetRecord> |
FeedView.unregister(DeltaEventHandler<M,E,R> listener)
Deregister DeltaEventHandler from the view
|
Modifier and Type | Method and Description |
---|---|
boolean |
MarketFilterRule.isComplied(IBetRecord record) |
boolean |
CompanyFilterRule.isComplied(IBetRecord record) |
boolean |
OddTypeFilterRule.isComplied(IBetRecord record) |
boolean |
LayBackTypeFilterRule.isComplied(IBetRecord record) |
boolean |
PivotTypeFilterRule.isComplied(IBetRecord record) |
boolean |
TimePivotTypeFilterRule.isComplied(IBetRecord record) |
boolean |
TargetFilterRule.isComplied(IBetRecord record) |
boolean |
TimeTypeFilterRule.isComplied(IBetRecord record) |
boolean |
PivotBiasFilterRule.isComplied(IBetRecord record) |