diff options
author | Jon Bratseth <bratseth@verizonmedia.com> | 2019-06-18 10:39:38 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@verizonmedia.com> | 2019-06-18 10:39:38 +0200 |
commit | 42a843fb14fe4f3ddabe352134b9594d8be18264 (patch) | |
tree | 37a62852a9894aca4220149a3fa7e7729b7bfb97 /documentapi/src | |
parent | 1b2c6aa193483f9a7eaaf17a5a82037b93bd1749 (diff) |
Increase timeout in async test
Diffstat (limited to 'documentapi/src')
-rwxr-xr-x | documentapi/src/main/java/com/yahoo/documentapi/SyncSession.java | 25 | ||||
-rwxr-xr-x | documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/RemoveDocumentReply.java | 4 |
2 files changed, 14 insertions, 15 deletions
diff --git a/documentapi/src/main/java/com/yahoo/documentapi/SyncSession.java b/documentapi/src/main/java/com/yahoo/documentapi/SyncSession.java index c254df3ba02..418c0374193 100755 --- a/documentapi/src/main/java/com/yahoo/documentapi/SyncSession.java +++ b/documentapi/src/main/java/com/yahoo/documentapi/SyncSession.java @@ -11,8 +11,8 @@ import com.yahoo.documentapi.messagebus.protocol.DocumentProtocol; import java.time.Duration; /** - * <p>A session for synchronous access to a document repository. This class - * provides simple document access where throughput is not a concern.</p> + * A session for synchronous access to a document repository. This class + * provides simple document access where throughput is not a concern. * * @author Simon Thoresen Hult * @author bjorncs @@ -20,16 +20,15 @@ import java.time.Duration; public interface SyncSession extends Session { /** - * <p>Puts a document. When this method returns, the document is safely - * received. This enables setting condition compared to using Document.</p> + * Puts a document. When this method returns, the document is safely + * received. This enables setting condition compared to using Document. * * @param documentPut The DocumentPut operation */ void put(DocumentPut documentPut); /** - * <p>Puts a document. When this method returns, the document is safely - * received.</p> + * Puts a document. When this method returns, the document is safely received. * * @param documentPut The DocumentPut operation * @param priority The priority with which to perform this operation. @@ -39,7 +38,7 @@ public interface SyncSession extends Session { } /** - * <p>Gets a document.</p> + * Gets a document. * * @param id The id of the document to get. * @return The known document having this id, or null if there is no @@ -65,7 +64,7 @@ public interface SyncSession extends Session { } /** - * <p>Gets a document with timeout.</p> + * Gets a document with timeout. * * @param id The id of the document to get. * @param timeout Timeout. If timeout is null, an unspecified default will be used. @@ -77,7 +76,7 @@ public interface SyncSession extends Session { Document get(DocumentId id, Duration timeout); /** - * <p>Gets a document with timeout. </p> + * Gets a document with timeout. * * @param id The id of the document to get. * @param fieldSet A comma-separated list of fields to retrieve @@ -93,12 +92,12 @@ public interface SyncSession extends Session { /** * <p>Removes a document if it is present and condition is fulfilled.</p> * @param documentRemove document to delete - * @return true If the document with this id was removed, false otherwise. + * @return true if the document with this id was removed, false otherwise. */ boolean remove(DocumentRemove documentRemove); /** - * <p>Removes a document if it is present.</p> + * Removes a document if it is present. * * @param documentRemove Document remove operation * @param priority The priority with which to perform this operation. @@ -109,7 +108,7 @@ public interface SyncSession extends Session { boolean remove(DocumentRemove documentRemove, DocumentProtocol.Priority priority); /** - * <p>Updates a document.</p> + * Updates a document. * * @param update The updates to perform. * @return True, if the document was found and updated. @@ -119,7 +118,7 @@ public interface SyncSession extends Session { boolean update(DocumentUpdate update); /** - * <p>Updates a document.</p> + * Updates a document. * * @param update The updates to perform. * @param priority The priority with which to perform this operation. diff --git a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/RemoveDocumentReply.java b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/RemoveDocumentReply.java index 167183acec6..d3c29e5a7be 100755 --- a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/RemoveDocumentReply.java +++ b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/RemoveDocumentReply.java @@ -18,7 +18,7 @@ public class RemoveDocumentReply extends WriteDocumentReply { /** * Returns whether or not the document was found and removed. * - * @return True if document was found. + * @return true if document was found. */ public boolean wasFound() { return found; @@ -27,7 +27,7 @@ public class RemoveDocumentReply extends WriteDocumentReply { /** * Set whether or not the document was found and removed. * - * @param found True if the document was found. + * @param found true if the document was found. */ public void setWasFound(boolean found) { this.found = found; |