-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMarketDataMmapAccessable.java
136 lines (135 loc) · 6.03 KB
/
MarketDataMmapAccessable.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
public interface MarketDataMmapAccessable {
public Long getTimestamp(ByteBuffer, Integer);
public Long getTimestamp(ByteBuffer);
public Long putTimestamp(ByteBuffer, Long, Integer);
public Long putTimestamp(ByteBuffer, Long);
public Integer lengthTimestamp();
public Integer offsetTimestamp();
public Integer positionTimestamp(Integer);
public Long getQuoteTime(ByteBuffer, Integer);
public Long getQuoteTime(ByteBuffer);
public Long putQuoteTime(ByteBuffer, Long, Integer);
public Long putQuoteTime(ByteBuffer, Long);
public Integer lengthQuoteTime();
public Integer offsetQuoteTime();
public Integer positionQuoteTime(Integer);
public Long getTradeTime(ByteBuffer, Integer);
public Long getTradeTime(ByteBuffer);
public Long putTradeTime(ByteBuffer, Long, Integer);
public Long putTradeTime(ByteBuffer, Long);
public Integer lengthTradeTime();
public Integer offsetTradeTime();
public Integer positionTradeTime(Integer);
public Object getQuoteCondition(ByteBuffer, Integer);
public Object getQuoteCondition(ByteBuffer);
public Object putQuoteCondition(ByteBuffer, Object, Integer);
public Object putQuoteCondition(ByteBuffer, Object);
public Integer lengthQuoteCondition();
public Integer offsetQuoteCondition();
public Integer positionQuoteCondition(Integer);
public Object getTradeCondition(ByteBuffer, Integer);
public Object getTradeCondition(ByteBuffer);
public Object putTradeCondition(ByteBuffer, Object, Integer);
public Object putTradeCondition(ByteBuffer, Object);
public Integer lengthTradeCondition();
public Integer offsetTradeCondition();
public Integer positionTradeCondition(Integer);
public Float getBid(ByteBuffer, Integer);
public Float getBid(ByteBuffer);
public Float putBid(ByteBuffer, Float, Integer);
public Float putBid(ByteBuffer, Float);
public Integer lengthBid();
public Integer offsetBid();
public Integer positionBid(Integer);
public Float getAsk(ByteBuffer, Integer);
public Float getAsk(ByteBuffer);
public Float putAsk(ByteBuffer, Float, Integer);
public Float putAsk(ByteBuffer, Float);
public Integer lengthAsk();
public Integer offsetAsk();
public Integer positionAsk(Integer);
public Float getLast(ByteBuffer, Integer);
public Float getLast(ByteBuffer);
public Float putLast(ByteBuffer, Float, Integer);
public Float putLast(ByteBuffer, Float);
public Integer lengthLast();
public Integer offsetLast();
public Integer positionLast(Integer);
public Integer getBidSize(ByteBuffer, Integer);
public Integer getBidSize(ByteBuffer);
public Integer putBidSize(ByteBuffer, Integer, Integer);
public Integer putBidSize(ByteBuffer, Integer);
public Integer lengthBidSize();
public Integer offsetBidSize();
public Integer positionBidSize(Integer);
public Integer getAskSize(ByteBuffer, Integer);
public Integer getAskSize(ByteBuffer);
public Integer putAskSize(ByteBuffer, Integer, Integer);
public Integer putAskSize(ByteBuffer, Integer);
public Integer lengthAskSize();
public Integer offsetAskSize();
public Integer positionAskSize(Integer);
public Integer getLastSize(ByteBuffer, Integer);
public Integer getLastSize(ByteBuffer);
public Integer putLastSize(ByteBuffer, Integer, Integer);
public Integer putLastSize(ByteBuffer, Integer);
public Integer lengthLastSize();
public Integer offsetLastSize();
public Integer positionLastSize(Integer);
public Float getVwap(ByteBuffer, Integer);
public Float getVwap(ByteBuffer);
public Float putVwap(ByteBuffer, Float, Integer);
public Float putVwap(ByteBuffer, Float);
public Integer lengthVwap();
public Integer offsetVwap();
public Integer positionVwap(Integer);
public Object getCondition(ByteBuffer, Integer);
public Object getCondition(ByteBuffer);
public Object putCondition(ByteBuffer, Object, Integer);
public Object putCondition(ByteBuffer, Object);
public Integer lengthCondition();
public Integer offsetCondition();
public Integer positionCondition(Integer);
public Long getTotalAmount(ByteBuffer, Integer);
public Long getTotalAmount(ByteBuffer);
public Long putTotalAmount(ByteBuffer, Long, Integer);
public Long putTotalAmount(ByteBuffer, Long);
public Integer lengthTotalAmount();
public Integer offsetTotalAmount();
public Integer positionTotalAmount(Integer);
public Integer getVolume(ByteBuffer, Integer);
public Integer getVolume(ByteBuffer);
public Integer putVolume(ByteBuffer, Integer, Integer);
public Integer putVolume(ByteBuffer, Integer);
public Integer lengthVolume();
public Integer offsetVolume();
public Integer positionVolume(Integer);
public Object getCurrency(ByteBuffer, Integer);
public Object getCurrency(ByteBuffer);
public Object putCurrency(ByteBuffer, Object, Integer);
public Object putCurrency(ByteBuffer, Object);
public Integer lengthCurrency();
public Integer offsetCurrency();
public Integer positionCurrency(Integer);
public Long getLatency(ByteBuffer, Integer);
public Long getLatency(ByteBuffer);
public Long putLatency(ByteBuffer, Long, Integer);
public Long putLatency(ByteBuffer, Long);
public Integer lengthLatency();
public Integer offsetLatency();
public Integer positionLatency(Integer);
public Long getInternalLatency(ByteBuffer, Integer);
public Long getInternalLatency(ByteBuffer);
public Long putInternalLatency(ByteBuffer, Long, Integer);
public Long putInternalLatency(ByteBuffer, Long);
public Integer lengthInternalLatency();
public Integer offsetInternalLatency();
public Integer positionInternalLatency(Integer);
public String getSymbol(ByteBuffer, Integer);
public String getSymbol(ByteBuffer);
public String putSymbol(ByteBuffer, String, Integer);
public String putSymbol(ByteBuffer, String);
public Integer lengthSymbol();
public Integer offsetSymbol();
public Integer positionSymbol(Integer);
}