Skip to content

Commit 9d091d2

Browse files
committed
updated lockTimeout javadoc
1 parent 97a4fc7 commit 9d091d2

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ public Integer getLockTimeout() {
4444
}
4545

4646
/**
47-
* @param lockTimeout an optional numeric value that can be used to set a timeout for waiting on collection locks. If not
48-
* specified, a default value will be used. Setting lockTimeout to 0 will make ArangoDB not time out
47+
* @param lockTimeout a numeric value that can be used to set a timeout in seconds for
48+
* waiting on collection locks. This option is only meaningful when using
49+
* exclusive locks. If not specified, a default value of 900 seconds will be
50+
* used. Setting lockTimeout to 0 will make ArangoDB not time out
4951
* waiting for a lock.
5052
* @return options
5153
*/

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ public Integer getLockTimeout() {
7171
}
7272

7373
/**
74-
* @param lockTimeout an optional numeric value that can be used to set a timeout for waiting on collection locks. If not
75-
* specified, a default value will be used. Setting lockTimeout to 0 will make ArangoDB not time out
74+
* @param lockTimeout a numeric value that can be used to set a timeout in seconds for
75+
* waiting on collection locks. This option is only meaningful when using
76+
* exclusive locks. If not specified, a default value of 900 seconds will be
77+
* used. Setting lockTimeout to 0 will make ArangoDB not time out
7678
* waiting for a lock.
7779
* @return options
7880
*/

0 commit comments

Comments
 (0)