Skip to content

Commit 7784a9b

Browse files
committed
JavaDoc
1 parent 9fdc7b7 commit 7784a9b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/redis/clients/jedis/csc/hash/CommandLongHashing.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22

33
import redis.clients.jedis.CommandObject;
44

5+
/**
6+
* The interface for hashing a command object for client-side caching.
7+
*/
58
public interface CommandLongHashing {
69

10+
/**
11+
* Produce a 64-bit signed hash from a command object.
12+
* @param command the command object
13+
* @return 64-bit signed hash
14+
*/
715
long hash(CommandObject command);
816
}

0 commit comments

Comments
 (0)