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, partitionKey
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bookPriority, duration, eventId, getCreatedTime, matchId, partitionKey, segment
public 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 IBetEventState
public IParticipantStats statsOf(int idx)
statsOf
in interface IBetEventState
idx
- index of the participantpublic IParticipantStats statsOne()
statsOne
in interface IB2EventState
public IParticipantStats statsTwo()
statsTwo
in interface IB2EventState