Skip to content

Commit

Permalink
convert AerospikeCacheKeyProcessor into an interface
Browse files Browse the repository at this point in the history
  • Loading branch information
agrgr committed Jun 19, 2024
1 parent d650583 commit 2e14355
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface AerospikeCacheKeyProcessor {
* @param key Object to be serialized
* @return byte[]
*/
public byte[] serialize(Object key);
byte[] serialize(Object key);

/**
* Calculate hash based on the given byte array.
Expand All @@ -28,5 +28,5 @@ interface AerospikeCacheKeyProcessor {
* @param data Byte array to be hashed
* @return AerospikeCacheKey instantiated with either a String or a long number
*/
public AerospikeCacheKey calculateHash(byte[] data);
AerospikeCacheKey calculateHash(byte[] data);
}

0 comments on commit 2e14355

Please sign in to comment.