Skip to content

Commit 1c824db

Browse files
author
mpv1989
committed
Fix JavaDoc
1 parent 396a8c2 commit 1c824db

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

src/main/java/com/arangodb/model/AqlQueryOptions.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public Long getMemoryLimit() {
102102
* the maximum number of memory (measured in bytes) that the query is allowed to use. If set, then the
103103
* query will fail with error "resource limit exceeded" in case it allocates too much memory. A value of
104104
* 0 indicates that there is no memory limit.
105+
* @since ArangoDB 3.1.0
105106
* @return options
106107
*/
107108
public AqlQueryOptions memoryLimit(final Long memoryLimit) {
@@ -197,6 +198,7 @@ public Long getMaxTransactionSize() {
197198
/**
198199
* @param maxTransactionSize
199200
* Transaction size limit in bytes. Honored by the RocksDB storage engine only.
201+
* @since ArangoDB 3.2.0
200202
* @return options
201203
*/
202204
public AqlQueryOptions maxTransactionSize(final Long maxTransactionSize) {
@@ -212,6 +214,7 @@ public Long getMaxWarningCount() {
212214
* @param maxWarningCount
213215
* Limits the maximum number of warnings a query will return. The number of warnings a query will return
214216
* is limited to 10 by default, but that number can be increased or decreased by setting this attribute.
217+
* @since ArangoDB 3.2.0
215218
* @return options
216219
*/
217220
public AqlQueryOptions maxWarningCount(final Long maxWarningCount) {
@@ -227,6 +230,7 @@ public Long getIntermediateCommitCount() {
227230
* @param intermediateCommitCount
228231
* Maximum number of operations after which an intermediate commit is performed automatically. Honored by
229232
* the RocksDB storage engine only.
233+
* @since ArangoDB 3.2.0
230234
* @return options
231235
*/
232236
public AqlQueryOptions intermediateCommitCount(final Long intermediateCommitCount) {
@@ -242,6 +246,7 @@ public Long getIntermediateCommitSize() {
242246
* @param intermediateCommitSize
243247
* Maximum total size of operations after which an intermediate commit is performed automatically.
244248
* Honored by the RocksDB storage engine only.
249+
* @since ArangoDB 3.2.0
245250
* @return options
246251
*/
247252
public AqlQueryOptions intermediateCommitSize(final Long intermediateCommitSize) {
@@ -258,6 +263,7 @@ public Double getSatelliteSyncWait() {
258263
* This enterprise parameter allows to configure how long a DBServer will have time to bring the
259264
* satellite collections involved in the query into sync. The default value is 60.0 (seconds). When the
260265
* max time has been reached the query will be stopped.
266+
* @since ArangoDB 3.2.0
261267
* @return options
262268
*/
263269
public AqlQueryOptions satelliteSyncWait(final Double satelliteSyncWait) {

src/main/java/com/arangodb/model/TransactionOptions.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ public Long getMaxTransactionSize() {
133133
return maxTransactionSize;
134134
}
135135

136+
/**
137+
* @param maxTransactionSize
138+
* Transaction size limit in bytes. Honored by the RocksDB storage engine only.
139+
* @since ArangoDB 3.2.0
140+
* @return options
141+
*/
136142
public TransactionOptions maxTransactionSize(final Long maxTransactionSize) {
137143
this.maxTransactionSize = maxTransactionSize;
138144
return this;
@@ -142,6 +148,13 @@ public Long getIntermediateCommitCount() {
142148
return intermediateCommitCount;
143149
}
144150

151+
/**
152+
* @param intermediateCommitCount
153+
* Maximum number of operations after which an intermediate commit is performed automatically. Honored by
154+
* the RocksDB storage engine only.
155+
* @since ArangoDB 3.2.0
156+
* @return options
157+
*/
145158
public TransactionOptions intermediateCommitCount(final Long intermediateCommitCount) {
146159
this.intermediateCommitCount = intermediateCommitCount;
147160
return this;
@@ -151,6 +164,13 @@ public Long getIntermediateCommitSize() {
151164
return intermediateCommitSize;
152165
}
153166

167+
/**
168+
* @param intermediateCommitSize
169+
* Maximum total size of operations after which an intermediate commit is performed automatically.
170+
* Honored by the RocksDB storage engine only.
171+
* @since ArangoDB 3.2.0
172+
* @return options
173+
*/
154174
public TransactionOptions intermediateCommitSize(final Long intermediateCommitSize) {
155175
this.intermediateCommitSize = intermediateCommitSize;
156176
return this;

0 commit comments

Comments
 (0)