code: @Override
      public void lTrim(byte[] key, long start, long end) {
          try {
              if (isPipelined()) {
                  pipeline(new JedisStatusResult(pipeline.ltrim(key, start, end)));
                  return;
              }
  
              client.ltrim(key, start, end);
          } catch (Exception ex) {
              throw convertException(ex);
          }
      }
docs: /*
  @see org.springframework.data.redis.connection.RedisListCommands#lTrim(byte[], long, long)