See: Description
| Interface | Description |
|---|---|
| CommandLongHasher |
The interface for hashing a command object to support client-side caching.
|
| Class | Description |
|---|---|
| AbstractCommandHasher | |
| AbstractSimpleCommandHasher |
It is possible to extend
this abstract class in order to implement
CommandLongHasher as AbstractCommandHasher.hashLongs(long[]) and
AbstractSimpleCommandHasher.hashBytes(byte[]) are supported by almost all Java hashing libraries. |
| GuavaCommandHasher |
An implementation of
CommandLongHasher based on HashFunction from Google Guava library. |
| SimpleCommandHasher |
This
CommandLongHasher implementation is simply based on Arrays.hashCode(long[])
and Arrays.hashCode(byte[]). |
Copyright © 2024. All rights reserved.