DATAREDIS-680 - Polishing.

Add author tag. Adopt javadoc fix in other affected operations and connection interfaces.

Original pull request: #265.
This commit is contained in:
Mark Paluch
2017-08-25 12:16:37 +02:00
parent 4dba7bbdf0
commit ff95162943
4 changed files with 19 additions and 17 deletions

View File

@@ -523,7 +523,7 @@ public interface RedisZSetCommands {
* @param key must not be {@literal null}.
* @param value the value.
* @return
* @see <a href="http://redis.io/commands/zrem">Redis Documentation: ZREM</a>
* @see <a href="http://redis.io/commands/zscore">Redis Documentation: ZSCORE</a>
*/
Double zScore(byte[] key, byte[] value);

View File

@@ -1177,7 +1177,7 @@ public interface StringRedisConnection extends RedisConnection {
* @param key must not be {@literal null}.
* @param value the value.
* @return
* @see <a href="http://redis.io/commands/zrem">Redis Documentation: ZREM</a>
* @see <a href="http://redis.io/commands/zscore">Redis Documentation: ZSCORE</a>
* @see RedisZSetCommands#zScore(byte[], byte[])
*/
Double zScore(String key, String value);

View File

@@ -202,7 +202,7 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
*
* @param o the value.
* @return
* @see <a href="http://redis.io/commands/zrem">Redis Documentation: ZREM</a>
* @see <a href="http://redis.io/commands/zscore">Redis Documentation: ZSCORE</a>
*/
Double score(Object o);

View File

@@ -28,13 +28,14 @@ import org.springframework.data.redis.connection.RedisZSetCommands.Tuple;
* @author Costin Leau
* @author Christoph Strobl
* @author Mark Paluch
* @author Rosty Kerei
*/
public interface ZSetOperations<K, V> {
/**
* Typed ZSet tuple.
*/
public interface TypedTuple<V> extends Comparable<TypedTuple<V>> {
interface TypedTuple<V> extends Comparable<TypedTuple<V>> {
V getValue();
Double getScore();
@@ -361,6 +362,7 @@ public interface ZSetOperations<K, V> {
* @param key
* @param options
* @return
* @see <a href="http://redis.io/commands/zscan">Redis Documentation: ZSCAN</a>
* @since 1.4
*/
Cursor<TypedTuple<V>> scan(K key, ScanOptions options);