Permalink
Browse files

Javadoc++

  • Loading branch information...
archiecobbs committed Nov 8, 2017
1 parent 601a93b commit 129a48b664ec104711d7dbebabccdff57548111b
Showing with 3 additions and 0 deletions.
  1. +3 −0 permazen-kv/src/main/java/io/permazen/kv/KVTransaction.java
@@ -154,6 +154,9 @@
* Key watch {@link Future}s that have not completed yet, but are no longer needed, must be {@link Future#cancel cancel()}'ed
* to avoid memory leaks.
*
* <p>
* Key watch support is indepdendent of whether the transaction is {@linkplain #setReadOnly read-only}.
*
* @param key the key to watch
* @return a {@link Future} that returns {@code key} when the value associated with {@code key} is modified
* @throws StaleTransactionException if this transaction is no longer usable

0 comments on commit 129a48b

Please sign in to comment.