Browse Source

引用报错

10.0
richie 7 years ago
parent
commit
371b436254
  1. 4
      fine-redisson/src/com/fr/third/redisson/misc/Hash.java

4
fine-redisson/src/com/fr/third/redisson/misc/Hash.java

@ -19,7 +19,7 @@ import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.handler.codec.base64.Base64;
import io.netty.util.CharsetUtil;
import net.openhft.hashing.LongHashFunction;
import com.fr.third.openhft.hashing.LongHashFunction;
public class Hash {
@ -28,7 +28,7 @@ public class Hash {
public static String hashToBase64(byte[] objectState) {
long h1 = LongHashFunction.farmUo().hashBytes(objectState);
long h2 = LongHashFunction.xx_r39().hashBytes(objectState);
long h2 = LongHashFunction.xx().hashBytes(objectState);
ByteBuf buf = Unpooled.buffer((2 * Long.SIZE) / Byte.SIZE).writeLong(h1).writeLong(h2);

Loading…
Cancel
Save