api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java
public void hmset(final byte[] key, final Map<byte[], byte[]> hash) {
        final List<byte[]> params = new ArrayList<byte[]>();
        params.add(key);

        for (final Entry<byte[], byte[]> entry : hash.entrySet()) {
            params.add(entry.getKey());
            params.add(entry.getValue());
        }
        sendCommand(Command.HMSET, params.toArray(new byte[params.size()][]));
    }
public void hmset(final byte[] key, final Map<byte[], byte[]> hash) {
        final List<byte[]> params = new ArrayList<byte[]>();
        params.add(key);

        for (final Entry<byte[], byte[]> entry : hash.entrySet()) {
            params.add(entry.getKey());
            params.add(entry.getValue());
        }
        sendCommand(Command.HMSET, params.toArray(new byte[params.size()][]));
    }
Hmset.

@param key  the key
@param hash the hash