Skip to content

Commit

Permalink
JavaDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 committed Mar 4, 2024
1 parent 9fdc7b7 commit 7784a9b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

import redis.clients.jedis.CommandObject;

/**
* The interface for hashing a command object for client-side caching.
*/
public interface CommandLongHashing {

/**
* Produce a 64-bit signed hash from a command object.
* @param command the command object
* @return 64-bit signed hash
*/
long hash(CommandObject command);
}

0 comments on commit 7784a9b

Please sign in to comment.