-
Notifications
You must be signed in to change notification settings - Fork 40
Fix typo #2732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix typo #2732
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ public interface TransactionCrudOperable extends CrudOperable<CrudException> { | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
|
||
| */ | ||
| @Override | ||
| Optional<Result> get(Get get) throws CrudConflictException, CrudException; | ||
|
|
@@ -28,7 +28,7 @@ public interface TransactionCrudOperable extends CrudOperable<CrudException> { | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| */ | ||
| @Override | ||
| List<Result> scan(Scan scan) throws CrudConflictException, CrudException; | ||
|
|
@@ -40,7 +40,7 @@ public interface TransactionCrudOperable extends CrudOperable<CrudException> { | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| */ | ||
| @Override | ||
| Scanner getScanner(Scan scan) throws CrudConflictException, CrudException; | ||
|
|
@@ -52,7 +52,7 @@ public interface TransactionCrudOperable extends CrudOperable<CrudException> { | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not | ||
| * satisfied or the entry does not exist | ||
| * @deprecated As of release 3.13.0. Will be removed in release 5.0.0. | ||
|
|
@@ -68,7 +68,7 @@ public interface TransactionCrudOperable extends CrudOperable<CrudException> { | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not | ||
| * satisfied or the entry does not exist | ||
| * @deprecated As of release 3.13.0. Will be removed in release 5.0.0. Use {@link #mutate(List)} | ||
|
|
@@ -86,7 +86,7 @@ void put(List<Put> puts) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| */ | ||
| @Override | ||
| void insert(Insert insert) throws CrudConflictException, CrudException; | ||
|
|
@@ -98,7 +98,7 @@ void put(List<Put> puts) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| */ | ||
| @Override | ||
| void upsert(Upsert upsert) throws CrudConflictException, CrudException; | ||
|
|
@@ -110,7 +110,7 @@ void put(List<Put> puts) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not | ||
| * satisfied or the entry does not exist | ||
| */ | ||
|
|
@@ -125,7 +125,7 @@ void update(Update update) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not | ||
| * satisfied or the entry does not exist | ||
| */ | ||
|
|
@@ -140,7 +140,7 @@ void delete(Delete delete) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not | ||
| * satisfied or the entry does not exist | ||
| * @deprecated As of release 3.13.0. Will be removed in release 5.0.0. Use {@link #mutate(List)} | ||
|
|
@@ -158,7 +158,7 @@ void delete(List<Delete> deletes) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified in a {@link Put}, {@link | ||
| * Delete}, or {@link Update} command, and if the condition is not satisfied or the entry does | ||
| * not exist | ||
|
|
@@ -175,7 +175,7 @@ interface Scanner extends CrudOperable.Scanner<CrudException> { | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or | ||
| * nontransient faults. You can try retrying the transaction from the beginning, but the | ||
| * transaction may still fail if the cause is nontranient | ||
| * transaction may still fail if the cause is nontransient | ||
| */ | ||
| @Override | ||
| Optional<Result> one() throws CrudConflictException, CrudException; | ||
|
|
@@ -187,7 +187,7 @@ interface Scanner extends CrudOperable.Scanner<CrudException> { | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or | ||
| * nontransient faults. You can try retrying the transaction from the beginning, but the | ||
| * transaction may still fail if the cause is nontranient | ||
| * transaction may still fail if the cause is nontransient | ||
| */ | ||
| @Override | ||
| List<Result> all() throws CrudConflictException, CrudException; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,7 @@ public interface TransactionManagerCrudOperable extends CrudOperable<Transaction | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
|
||
| * @throws UnknownTransactionStatusException if the status of the commit is unknown | ||
| */ | ||
| @Override | ||
|
|
@@ -32,7 +32,7 @@ Optional<Result> get(Get get) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnknownTransactionStatusException if the status of the commit is unknown | ||
| */ | ||
| @Override | ||
|
|
@@ -46,7 +46,7 @@ List<Result> scan(Scan scan) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| */ | ||
| @Override | ||
| Scanner getScanner(Scan scan) throws CrudConflictException, CrudException; | ||
|
|
@@ -58,7 +58,7 @@ List<Result> scan(Scan scan) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not | ||
| * satisfied or the entry does not exist | ||
| * @throws UnknownTransactionStatusException if the status of the commit is unknown | ||
|
|
@@ -77,7 +77,7 @@ void put(Put put) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not | ||
| * satisfied or the entry does not exist | ||
| * @throws UnknownTransactionStatusException if the status of the commit is unknown | ||
|
|
@@ -97,7 +97,7 @@ void put(List<Put> puts) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnknownTransactionStatusException if the status of the commit is unknown | ||
| */ | ||
| @Override | ||
|
|
@@ -111,7 +111,7 @@ void insert(Insert insert) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnknownTransactionStatusException if the status of the commit is unknown | ||
| */ | ||
| @Override | ||
|
|
@@ -125,7 +125,7 @@ void upsert(Upsert upsert) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not | ||
| * satisfied or the entry does not exist | ||
| * @throws UnknownTransactionStatusException if the status of the commit is unknown | ||
|
|
@@ -142,7 +142,7 @@ void update(Update update) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not | ||
| * satisfied or the entry does not exist | ||
| * @throws UnknownTransactionStatusException if the status of the commit is unknown | ||
|
|
@@ -159,7 +159,7 @@ void delete(Delete delete) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not | ||
| * satisfied or the entry does not exist | ||
| * @throws UnknownTransactionStatusException if the status of the commit is unknown | ||
|
|
@@ -179,7 +179,7 @@ void delete(List<Delete> deletes) | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnsatisfiedConditionException if a condition is specified in a {@link Put}, {@link | ||
| * Delete}, or {@link Update} command, and if the condition is not satisfied or the entry does | ||
| * not exist | ||
|
|
@@ -198,7 +198,7 @@ interface Scanner extends CrudOperable.Scanner<TransactionException> { | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or | ||
| * nontransient faults. You can try retrying the transaction from the beginning, but the | ||
| * transaction may still fail if the cause is nontranient | ||
| * transaction may still fail if the cause is nontransient | ||
| */ | ||
| @Override | ||
| Optional<Result> one() throws CrudConflictException, CrudException; | ||
|
|
@@ -210,7 +210,7 @@ interface Scanner extends CrudOperable.Scanner<TransactionException> { | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CrudException if the transaction CRUD operation fails due to transient or | ||
| * nontransient faults. You can try retrying the transaction from the beginning, but the | ||
| * transaction may still fail if the cause is nontranient | ||
| * transaction may still fail if the cause is nontransient | ||
| */ | ||
| @Override | ||
| List<Result> all() throws CrudConflictException, CrudException; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -77,7 +77,7 @@ public interface TwoPhaseCommitTransaction extends TransactionCrudOperable { | |
| * faults (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws PreparationException if the transaction fails to prepare due to transient or | ||
| * nontransient faults. You can try retrying the transaction from the beginning, but the | ||
| * transaction may still fail if the cause is nontranient | ||
| * transaction may still fail if the cause is nontransient | ||
|
||
| */ | ||
| void prepare() throws PreparationConflictException, PreparationException; | ||
|
|
||
|
|
@@ -89,7 +89,7 @@ public interface TwoPhaseCommitTransaction extends TransactionCrudOperable { | |
| * faults (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws ValidationException if the transaction fails to validate due to transient or | ||
| * nontransient faults. You can try retrying the transaction from the beginning, but the | ||
| * transaction may still fail if the cause is nontranient | ||
| * transaction may still fail if the cause is nontransient | ||
| */ | ||
| void validate() throws ValidationConflictException, ValidationException; | ||
|
|
||
|
|
@@ -100,7 +100,7 @@ public interface TwoPhaseCommitTransaction extends TransactionCrudOperable { | |
| * (e.g., a conflict error). You can retry the transaction from the beginning | ||
| * @throws CommitException if the transaction fails to commit due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
| * @throws UnknownTransactionStatusException if the status of the commit is unknown | ||
| */ | ||
| void commit() throws CommitConflictException, CommitException, UnknownTransactionStatusException; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -132,7 +132,7 @@ default TwoPhaseCommitTransaction start(String txId) | |
| * You can retry the transaction from the beginning | ||
| * @throws TransactionException if joining the transaction fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may | ||
| * still fail if the cause is nontranient | ||
| * still fail if the cause is nontransient | ||
|
||
| */ | ||
| TwoPhaseCommitTransaction join(String txId) | ||
| throws TransactionNotFoundException, TransactionException; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ | |
| /** | ||
| * An exception thrown when committing a transaction fails due to transient or nontransient faults. | ||
| * You can try retrying the transaction from the beginning, but the transaction may still fail if | ||
| * the cause is nontranient. | ||
| * the cause is nontransient. | ||
|
||
| */ | ||
| public class CommitException extends TransactionException { | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ | |
| /** | ||
| * An exception thrown when a transaction CRUD operation fails due to transient or nontransient | ||
| * faults. You can try retrying the transaction from the beginning, but the transaction may still | ||
| * fail if the cause is nontranient. | ||
| * fail if the cause is nontransient. | ||
|
||
| */ | ||
| public class CrudException extends TransactionException { | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ | |
| /** | ||
| * An exception thrown when preparing a transaction fails due to transient or nontransient faults. | ||
| * You can try retrying the transaction from the beginning, but the transaction may still fail if | ||
| * the cause is nontranient. | ||
| * the cause is nontransient. | ||
|
||
| */ | ||
| public class PreparationException extends TransactionException { | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ | |
| /** | ||
| * An exception thrown when validating a transaction fails due to transient or nontransient faults. | ||
| * You can try retrying the transaction from the beginning, but the transaction may still fail if | ||
| * the cause is nontranient. | ||
| * the cause is nontransient. | ||
|
||
| */ | ||
| public class ValidationException extends TransactionException { | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo corrected: 'nontranient' has been updated to 'nontransient' for clarity in the documentation comment.