public static KVOperation createKeyLockRequest(final byte[] key, final byte[] fencingKey,
                                                   final Pair<Boolean, DistributedLock.Acquirer> acquirerPair) {
        Requires.requireNonNull(key, "key");
        return new KVOperation(key, fencingKey, acquirerPair, KEY_LOCK);
    }
The best practice is to call this method only once
and keep a copy of it yourself.
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/storage/KVOperation.java