api/java/src/main/java/com/navercorp/redis/cluster/spring/RedisClusterConnection.java
@Override
    public Boolean expire(byte[] key, long seconds) {
        try {
            if (isPipelined()) {
                pipeline(new JedisResult(pipeline.expire(key, (int) seconds), JedisConverters.longToBoolean()));
                return null;
            }
            return JedisConverters.toBoolean(client.expire(key, (int) seconds));
        } catch (Exception ex) {
            throw convertException(ex);
        }
    }
@Override
    public Boolean expire(byte[] key, long seconds) {
        try {
            if (isPipelined()) {
                pipeline(new JedisResult(pipeline.expire(key, (int) seconds), JedisConverters.longToBoolean()));
                return null;
            }
            return JedisConverters.toBoolean(client.expire(key, (int) seconds));
        } catch (Exception ex) {
            throw convertException(ex);
        }
    }
/*
@see org.springframework.data.redis.connection.RedisKeyCommands#expire(byte[], long)