Each redis command is implemented by one or more methods with names identical to the lowercase redis command name. Complex commands with multiple modifiers that change the result type include the CamelCased modifier as part of the command name, e.g. {@link com.lambdaworks.redis.RedisConnection#zrangebyscore zrangebyscore} and {@link com.lambdaworks.redis.RedisConnection#zrangebyscoreWithScores zrangebyscoreWithScores}.
Redis connections are designed to be long-lived, and if the connection is lost will reconnect until {@code close()} is called. Pending commands that have not timed out will be (re)sent after successful reconnection.
All connections inherit a default timeout from their {@link com.lambdaworks.redis.RedisClient} and will throw a {@link com.lambdaworks.redis.RedisException} when non-blocking commands fail to return a result before the timeout expires. The timeout defaults to 60 seconds and may be changed via {@link com.lambdaworks.redis.RedisClient#setDefaultTimeout} or for each individual connection.