@Override
    public long checksum() {
        byte[] bs = new byte[16];
        Bits.putLong(bs, 0, this.index);
        Bits.putLong(bs, 8, this.term);
        return CrcUtil.crc64(bs);
    }
Log identifier.

@author boyan (boyan@alibaba-inc.com)

2018-Mar-12 3:12:29 PM
jraft-core/src/main/java/com/alipay/sofa/jraft/entity/LogId.java