@@ -40,27 +40,27 @@ public Optional<Long> getPopulationSize() {
40
40
return _populationSize ;
41
41
}
42
42
43
- public Long getRequestBodySize () {
44
- return _requestBodySize ;
43
+ public Long getRequestBodyBytes () {
44
+ return _requestBodyBytes ;
45
45
}
46
46
47
- public Long getRequestBodyEncodedSize () {
48
- return _requestBodyEncodedSize ;
47
+ public Long getRequestBodyCompressedBytes () {
48
+ return _requestBodyCompressedBytes ;
49
49
}
50
50
51
51
private RequestEntry (final Builder builder ) {
52
52
_request = builder ._request ;
53
53
_enterTime = builder ._enterTime ;
54
54
_populationSize = builder ._populationSize ;
55
- _requestBodySize = builder ._requestBodySize ;
56
- _requestBodyEncodedSize = builder ._requestBodyEncodedSize ;
55
+ _requestBodyBytes = builder ._requestBodyBytes ;
56
+ _requestBodyCompressedBytes = builder ._requestBodyCompressedBytes ;
57
57
}
58
58
59
59
private final Request _request ;
60
60
private final Instant _enterTime ;
61
61
private final Optional <Long > _populationSize ;
62
- private final Long _requestBodySize ;
63
- private final Long _requestBodyEncodedSize ;
62
+ private final Long _requestBodyBytes ;
63
+ private final Long _requestBodyCompressedBytes ;
64
64
65
65
/**
66
66
* {@link com.arpnetworking.commons.builder.Builder} implementation for
@@ -112,24 +112,24 @@ public Builder setPopulationSize(final Optional<Long> value) {
112
112
}
113
113
114
114
/**
115
- * Set the request body size. Required. Cannot be null.
115
+ * Set the request body size in bytes . Required. Cannot be null.
116
116
*
117
- * @param value The request body size.
117
+ * @param value The request body size in bytes .
118
118
* @return This {@link Builder} instance.
119
119
*/
120
- public Builder setRequestBodySize (final Long value ) {
121
- _requestBodySize = value ;
120
+ public Builder setRequestBodyBytes (final Long value ) {
121
+ _requestBodyBytes = value ;
122
122
return this ;
123
123
}
124
124
125
125
/**
126
- * Set the request body encoded size. Required. Cannot be null.
126
+ * Set the request body compressed size in bytes . Required. Cannot be null.
127
127
*
128
- * @param value The request body encoded size.
128
+ * @param value The request body compressed size in bytes .
129
129
* @return This {@link Builder} instance.
130
130
*/
131
- public Builder setRequestBodyEncodedSize (final Long value ) {
132
- _requestBodyEncodedSize = value ;
131
+ public Builder setRequestBodyCompressedBytes (final Long value ) {
132
+ _requestBodyCompressedBytes = value ;
133
133
return this ;
134
134
}
135
135
@@ -140,9 +140,9 @@ public Builder setRequestBodyEncodedSize(final Long value) {
140
140
@ NotNull
141
141
private Optional <Long > _populationSize = Optional .empty ();
142
142
@ NotNull
143
- private Long _requestBodySize ;
143
+ private Long _requestBodyBytes ;
144
144
@ NotNull
145
- private Long _requestBodyEncodedSize ;
145
+ private Long _requestBodyCompressedBytes ;
146
146
}
147
147
}
148
148
0 commit comments