class RedisClient implements Client {

  @Override
  public int dbsize() throws ConnectionException, IOException {
    transaction.open();
    try {
      commandExecutor.execute(RedisCommands.DBSIZE);
      return commandResult.getInt();
    } finally {
      transaction.close();
    }
  }

    RedisClient(final RedisCommandExecutor redisCommandExecutor,
      final RedisCommandResult redisCommandResult);
  public  RedisClient(final Connection connection);
  public  RedisClient();
  public  RedisClient(final String host);
  public  RedisClient(final String host, final int port);

}