diff --git a/redisson/src/main/java/org/redisson/api/TransactionOptions.java b/redisson/src/main/java/org/redisson/api/TransactionOptions.java index 32a2beb0e..5ff72e587 100644 --- a/redisson/src/main/java/org/redisson/api/TransactionOptions.java +++ b/redisson/src/main/java/org/redisson/api/TransactionOptions.java @@ -46,7 +46,7 @@ public class TransactionOptions { /** * Defines timeout for Redis response. - * Starts to countdown when Redis command has been successfully sent. + * Starts to countdown when transaction has been successfully sent. *
* Default is 3000 milliseconds
*
@@ -64,7 +64,7 @@ public class TransactionOptions {
}
/**
- * Defines attempts amount to send Redis commands batch
+ * Defines attempts amount to send transaction
* if it hasn't been sent already.
*
* Default is 3 attempts
@@ -82,7 +82,7 @@ public class TransactionOptions {
}
/**
- * Defines time interval for each attempt to send Redis commands batch
+ * Defines time interval for each attempt to send transaction
* if it hasn't been sent already.
*
* Default is 1500 milliseconds
@@ -99,7 +99,7 @@ public class TransactionOptions {
/**
* Synchronization data timeout between Redis master participating in transaction and its slaves.
*
- * Default syncSlaves is 5000 milliseconds
+ * Default is 5000 milliseconds
*
* @param syncTimeout - synchronization timeout
* @param syncUnit - synchronization timeout time unit
@@ -117,7 +117,7 @@ public class TransactionOptions {
return timeout;
}
/**
- * If transaction hasn't committed within timeout
it will rollback automatically.
+ * If transaction hasn't been committed within timeout
it will rollback automatically.
*
* Default is 5000 milliseconds
*