We have a few undocumented generic parameters, fix that up.
Change-Id: Ifbe06d528b9333026c1bdc0bd6af73570940ade0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
2775afbe5f2c82a6add571a35ad16f6521b72489)
* <p>The provided transaction is specific to the given logical datastore type and cannot be used for any
* other.
*
* <p>The provided transaction is specific to the given logical datastore type and cannot be used for any
* other.
*
+ * @param <D> datastore type
+ * @param <E> thrown exception type
+ * @param <R> result type
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txFunction the {@link InterruptibleCheckedFunction} that needs a new read transaction
* @return the result of the function.
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txFunction the {@link InterruptibleCheckedFunction} that needs a new read transaction
* @return the result of the function.
* <p>The provided transaction is specific to the given logical datastore type and cannot be used for any
* other.
*
* <p>The provided transaction is specific to the given logical datastore type and cannot be used for any
* other.
*
+ * @param <D> datastore type
+ * @param <E> thrown exception type
+ * @param <R> result type
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txFunction the {@link InterruptibleCheckedFunction} that needs a new read transaction
* @return the result of the function.
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txFunction the {@link InterruptibleCheckedFunction} that needs a new read transaction
* @return the result of the function.
* {@link CompletionStage}
* (but better NOT by using the blocking {@link Future#get()} on it).
*
* {@link CompletionStage}
* (but better NOT by using the blocking {@link Future#get()} on it).
*
+ * @param <D> datastore type
+ * @param <E> thrown exception type
+ * @param <R> result type
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txFunction the {@link InterruptibleCheckedFunction} that needs a new read-write transaction
* @return the {@link FluentFuture} returned by {@link ReadWriteTransaction#commit()}, or a failed future with an
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txFunction the {@link InterruptibleCheckedFunction} that needs a new read-write transaction
* @return the {@link FluentFuture} returned by {@link ReadWriteTransaction#commit()}, or a failed future with an
* <p>The provided transaction is specific to the given logical datastore type and cannot be used for any
* other.
*
* <p>The provided transaction is specific to the given logical datastore type and cannot be used for any
* other.
*
+ * @param <D> datastore type
+ * @param <E> thrown exception type
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txConsumer the {@link InterruptibleCheckedFunction} that needs a new read transaction
* @throws E if an error occurs.
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txConsumer the {@link InterruptibleCheckedFunction} that needs a new read transaction
* @throws E if an error occurs.
* <p>The provided transaction is specific to the given logical datastore type and cannot be used for any
* other.
*
* <p>The provided transaction is specific to the given logical datastore type and cannot be used for any
* other.
*
+ * @param <D> datastore type
+ * @param <E> thrown exception type
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txConsumer the {@link InterruptibleCheckedFunction} that needs a new read transaction
* @throws E if an error occurs.
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txConsumer the {@link InterruptibleCheckedFunction} that needs a new read transaction
* @throws E if an error occurs.
* {@link CompletionStage}
* (but better NOT by using the blocking {@link Future#get()} on it).
*
* {@link CompletionStage}
* (but better NOT by using the blocking {@link Future#get()} on it).
*
+ * @param <D> datastore type
+ * @param <E> thrown exception type
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txConsumer the {@link InterruptibleCheckedConsumer} that needs a new read-write transaction
* @return the {@link FluentFuture} returned by {@link ReadWriteTransaction#commit()}, or a failed future with an
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txConsumer the {@link InterruptibleCheckedConsumer} that needs a new read-write transaction
* @return the {@link FluentFuture} returned by {@link ReadWriteTransaction#commit()}, or a failed future with an
* {@link CompletionStage}
* (but better NOT by using the blocking {@link Future#get()} on it).
*
* {@link CompletionStage}
* (but better NOT by using the blocking {@link Future#get()} on it).
*
+ * @param <D> datastore type
+ * @param <E> thrown exception type
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txConsumer the {@link InterruptibleCheckedConsumer} that needs a new write only transaction
* @return the {@link FluentFuture} returned by {@link WriteTransaction#commit()}, or a failed future with an
* @param datastoreType the {@link Datastore} type that will be accessed
* @param txConsumer the {@link InterruptibleCheckedConsumer} that needs a new write only transaction
* @return the {@link FluentFuture} returned by {@link WriteTransaction#commit()}, or a failed future with an
* Executes a {@link QueryExpression}.
*
* @param query Query to execute
* Executes a {@link QueryExpression}.
*
* @param query Query to execute
+ * @param <T> The type of the expected object
* @return a FluentFuture containing the result of the query. The Future blocks until the operation is complete.
* Once complete:
* <ul>
* @return a FluentFuture containing the result of the query. The Future blocks until the operation is complete.
* Once complete:
* <ul>