javadoc prose fixes
This commit is contained in:
parent
4c7c660adb
commit
8d424a5097
|
@ -70,8 +70,8 @@ public class KeySelector {
|
|||
* @param key the base key to reference
|
||||
* @param orEqual {@code true} if the key selector should resolve to
|
||||
* {@code key} (if {@code key} is present) before accounting for the offset
|
||||
* @param offset the offset (in number of keys) from the first resolved to key that
|
||||
* the key selector should finally resolve to
|
||||
* @param offset the offset (in number of keys) that the selector will advance after
|
||||
* resolving to a key based on the {@code key} and {@code orEqual} parameters
|
||||
*/
|
||||
public KeySelector(byte[] key, boolean orEqual, int offset) {
|
||||
this.key = key;
|
||||
|
|
|
@ -463,10 +463,10 @@ public class AsyncUtil {
|
|||
|
||||
/**
|
||||
* Composes an asynchronous task with an exception-handler that returns a {@link CompletableFuture}
|
||||
* of the same type. This will return a {@link CompletableFuture} that will have the
|
||||
* same return value as {@code task} if {@code task} completes normally and will
|
||||
* have the same result as the future returned by {@code fn} given the exception
|
||||
* resulting from {@code task} if {@code task} completes exceptionally.
|
||||
* of the same type. If {@code task} completes normally, this will return a {@link CompletableFuture}
|
||||
* with the same value as {@code task}. If {@code task} completes exceptionally,
|
||||
* this will call {@code fn} with the exception returned by {@code task} and return
|
||||
* the result of the {@link CompletableFuture} returned by that function.
|
||||
*
|
||||
* @param task the asynchronous process to handle exceptions from
|
||||
* @param fn a function mapping exceptions from {@code task} to a {@link CompletableFuture} of the same
|
||||
|
|
|
@ -188,7 +188,7 @@ import com.apple.foundationdb.async.CloneableException;
|
|||
* {@link #isMaybeCommitted() may be committed} or not). To handle these cases, clients
|
||||
* are generally advised to make their database operations idempotent and to place
|
||||
* their operations within retry loops. The FDB Java API provides some default retry loops
|
||||
* within the {@link Database} interface. See the discussion within the documenation of
|
||||
* within the {@link Database} interface. See the discussion within the documentation of
|
||||
* {@link Database#runAsync(Function) Database.runAsync()} for more details.
|
||||
*
|
||||
* @see com.apple.foundationdb.Transaction#onError(Throwable) Transaction.onError()
|
||||
|
|
Loading…
Reference in New Issue