public abstract class B2EventState extends BetEventState implements IB2EventState
| Constructor and Description |
|---|
B2EventState(IParticipantStats statsOne,
IParticipantStats statsTwo,
int duration,
PartitionKey key,
java.lang.String matchId,
java.lang.String eventId,
int bookPriority) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IParticipantStats> |
stats()
The default ordered list of participants' statistics
|
IParticipantStats |
statsOf(int idx)
Get the statistics of a particular participant
|
IParticipantStats |
statsOne()
This contains statistics of a participant one
|
IParticipantStats |
statsTwo()
This contains statistics of a participant two
|
bookPriority, duration, eventId, getCreatedTime, matchId, partitionKeyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbookPriority, duration, eventId, getCreatedTime, matchId, partitionKey, segmentpublic B2EventState(IParticipantStats statsOne, IParticipantStats statsTwo, int duration, PartitionKey key, java.lang.String matchId, java.lang.String eventId, int bookPriority)
public java.util.List<IParticipantStats> stats()
stats in interface IBetEventStatepublic IParticipantStats statsOf(int idx)
statsOf in interface IBetEventStateidx - index of the participantpublic IParticipantStats statsOne()
statsOne in interface IB2EventStatepublic IParticipantStats statsTwo()
statsTwo in interface IB2EventState