public Long multiSet(H key, HK field, HK name, Collection<HV> values, long timeout, TimeUnit unit) {
        final byte[] rawKey = rawKey(key);
        final byte[] rawHashKey = rawHashKey(field);
        final byte[] rawElementName = rawHashKey(name);
        final byte[][] rawElementValues = new byte[values.size()][];
        int count = 0;
        for (HV value : values) {
            rawElementValues[count++] = rawHashValue(value);
        }
        final long expireSeconds = unit.toSeconds(timeout);

        return execute(new RedisCallback<Long>() {
            public Long doInRedis(RedisConnection connection) throws DataAccessException {
                return ((RedisClusterConnection) connection).ssSet(rawKey, rawHashKey, rawElementName, expireSeconds,
                        rawElementValues);
            }
        }, true);
    }
public Long multiSet(H key, HK field, HK name, Collection<HV> values, long timeout, TimeUnit unit) {
        final byte[] rawKey = rawKey(key);
        final byte[] rawHashKey = rawHashKey(field);
        final byte[] rawElementName = rawHashKey(name);
        final byte[][] rawElementValues = new byte[values.size()][];
        int count = 0;
        for (HV value : values) {
            rawElementValues[count++] = rawHashValue(value);
        }
        final long expireSeconds = unit.toSeconds(timeout);

        return execute(new RedisCallback<Long>() {
            public Long doInRedis(RedisConnection connection) throws DataAccessException {
                return ((RedisClusterConnection) connection).ssSet(rawKey, rawHashKey, rawElementName, expireSeconds,
                        rawElementValues);
            }
        }, true);
    }
public Long multiSet ( H key , HK field , HK name , Collection < HV > values , long timeout , TimeUnit unit ) { final byte [ ] rawKey = rawKey ( key ) ; final byte [ ] rawHashKey = rawHashKey ( field ) ; final byte [ ] rawElementName = rawHashKey ( name ) ; final byte [ ] [ ] rawElementValues = new byte [ values . size ( ) ] [ ] ; int count = 0 ; for ( HV value : values ) { rawElementValues [ count ++ ] = rawHashValue ( value ) ; } final long expireSeconds = unit . toSeconds ( timeout ) ; return execute ( new RedisCallback < Long > ( ) { public Long doInRedis ( RedisConnection connection ) throws DataAccessException { return ( ( RedisClusterConnection ) connection ) . ssSet ( rawKey , rawHashKey , rawElementName , expireSeconds , rawElementValues ) ; } } , true ) ; }
/*
@see SessionOfHashSetOperations#multiSet(java.lang.Object, java.lang.Object, java.lang.Object, java.util.Collection, long, java.util.concurrent.TimeUnit)
/ *