diff --git a/core/src/main/java/com/scalar/db/api/DistributedTransaction.java b/core/src/main/java/com/scalar/db/api/DistributedTransaction.java index fdf61a10d6..dba249448e 100644 --- a/core/src/main/java/com/scalar/db/api/DistributedTransaction.java +++ b/core/src/main/java/com/scalar/db/api/DistributedTransaction.java @@ -73,7 +73,7 @@ public interface DistributedTransaction 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; diff --git a/core/src/main/java/com/scalar/db/api/TransactionCrudOperable.java b/core/src/main/java/com/scalar/db/api/TransactionCrudOperable.java index d2be32919a..f30127ea8a 100644 --- a/core/src/main/java/com/scalar/db/api/TransactionCrudOperable.java +++ b/core/src/main/java/com/scalar/db/api/TransactionCrudOperable.java @@ -16,7 +16,7 @@ public interface TransactionCrudOperable extends CrudOperable { * (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 get(Get get) throws CrudConflictException, CrudException; @@ -28,7 +28,7 @@ public interface TransactionCrudOperable extends CrudOperable { * (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 scan(Scan scan) throws CrudConflictException, CrudException; @@ -40,7 +40,7 @@ public interface TransactionCrudOperable extends CrudOperable { * (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 { * (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 { * (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 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 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 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 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 { * (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 one() throws CrudConflictException, CrudException; @@ -187,7 +187,7 @@ interface Scanner extends CrudOperable.Scanner { * (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 all() throws CrudConflictException, CrudException; diff --git a/core/src/main/java/com/scalar/db/api/TransactionManagerCrudOperable.java b/core/src/main/java/com/scalar/db/api/TransactionManagerCrudOperable.java index 608d80cdf3..c03eef4034 100644 --- a/core/src/main/java/com/scalar/db/api/TransactionManagerCrudOperable.java +++ b/core/src/main/java/com/scalar/db/api/TransactionManagerCrudOperable.java @@ -18,7 +18,7 @@ public interface TransactionManagerCrudOperable extends CrudOperable 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 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 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 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 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 { * (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 one() throws CrudConflictException, CrudException; @@ -210,7 +210,7 @@ interface Scanner extends CrudOperable.Scanner { * (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 all() throws CrudConflictException, CrudException; diff --git a/core/src/main/java/com/scalar/db/api/TwoPhaseCommitTransaction.java b/core/src/main/java/com/scalar/db/api/TwoPhaseCommitTransaction.java index 5ae0385a11..045666909e 100644 --- a/core/src/main/java/com/scalar/db/api/TwoPhaseCommitTransaction.java +++ b/core/src/main/java/com/scalar/db/api/TwoPhaseCommitTransaction.java @@ -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; diff --git a/core/src/main/java/com/scalar/db/api/TwoPhaseCommitTransactionManager.java b/core/src/main/java/com/scalar/db/api/TwoPhaseCommitTransactionManager.java index 33fe5f680f..24d606dae7 100644 --- a/core/src/main/java/com/scalar/db/api/TwoPhaseCommitTransactionManager.java +++ b/core/src/main/java/com/scalar/db/api/TwoPhaseCommitTransactionManager.java @@ -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; diff --git a/core/src/main/java/com/scalar/db/exception/transaction/CommitException.java b/core/src/main/java/com/scalar/db/exception/transaction/CommitException.java index 14ef59f73c..2bb1312eb7 100644 --- a/core/src/main/java/com/scalar/db/exception/transaction/CommitException.java +++ b/core/src/main/java/com/scalar/db/exception/transaction/CommitException.java @@ -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 { diff --git a/core/src/main/java/com/scalar/db/exception/transaction/CrudException.java b/core/src/main/java/com/scalar/db/exception/transaction/CrudException.java index b0bbd739b2..918ef10ba8 100644 --- a/core/src/main/java/com/scalar/db/exception/transaction/CrudException.java +++ b/core/src/main/java/com/scalar/db/exception/transaction/CrudException.java @@ -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 { diff --git a/core/src/main/java/com/scalar/db/exception/transaction/PreparationException.java b/core/src/main/java/com/scalar/db/exception/transaction/PreparationException.java index e653f5c022..b768ccfc91 100644 --- a/core/src/main/java/com/scalar/db/exception/transaction/PreparationException.java +++ b/core/src/main/java/com/scalar/db/exception/transaction/PreparationException.java @@ -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 { diff --git a/core/src/main/java/com/scalar/db/exception/transaction/ValidationException.java b/core/src/main/java/com/scalar/db/exception/transaction/ValidationException.java index 1cb4f1bf80..5659b4f898 100644 --- a/core/src/main/java/com/scalar/db/exception/transaction/ValidationException.java +++ b/core/src/main/java/com/scalar/db/exception/transaction/ValidationException.java @@ -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 {