Standard code formatting

This commit is contained in:
Peter Lawrey
2018-04-21 10:49:49 +01:00
parent c7efd950f8
commit 9323cf28a7
270 changed files with 2801 additions and 2551 deletions
@@ -26,7 +26,7 @@ import net.openhft.chronicle.set.SetEntry;
* with {@link ChronicleHashBuilder#checksumEntries(boolean)} configured to {@code true}. There is
* no method that returns {@code ChecksumEntry}, {@link MapEntry} or {@link SetEntry} could be
* <i>casted</i> to {@code ChecksumEntry} to access it's methods.
*
* <p>
* <p>See <a href="https://github.com/OpenHFT/Chronicle-Map#entry-checksums">Entry checksums</a>
* section in the Chronicle Map tutorial for usage examples of this interface.
*/
@@ -41,11 +41,11 @@ public interface ChecksumEntry {
* interface</a>.
*
* @throws UnsupportedOperationException if checksums are not stored in the containing Chronicle
* Hash
* @throws RuntimeException if the context of this entry is locked improperly, e. g. on the
* {@linkplain HashQueryContext#readLock() read} level, that is not upgradable to the
* {@linkplain HashQueryContext#updateLock() update} level. Calling {@code updateChecksum()}
* method is enabled when at least update lock is held.
* Hash
* @throws RuntimeException if the context of this entry is locked improperly, e. g. on the
* {@linkplain HashQueryContext#readLock() read} level, that is not upgradable to the
* {@linkplain HashQueryContext#updateLock() update} level. Calling {@code updateChecksum()}
* method is enabled when at least update lock is held.
*/
void updateChecksum();
@@ -54,11 +54,11 @@ public interface ChecksumEntry {
*
* @return {@code true} if stored checksum equals to checksum computed from the entry bytes
* @throws UnsupportedOperationException if checksums are not stored in the containing Chronicle
* Hash
* @throws RuntimeException if the context of this entry is locked improperly, e. g. on the
* {@linkplain HashQueryContext#readLock() read} level, that is not upgradable to the
* {@linkplain HashQueryContext#updateLock() update} level. Calling {@code checkSum()} method is
* enabled when at least update lock is held.
* Hash
* @throws RuntimeException if the context of this entry is locked improperly, e. g. on the
* {@linkplain HashQueryContext#readLock() read} level, that is not upgradable to the
* {@linkplain HashQueryContext#updateLock() update} level. Calling {@code checkSum()} method is
* enabled when at least update lock is held.
*/
boolean checkSum();
}