Construct the DatabaseBackend.
\Drupal\Core\Database\Connection $connection: The database connection which will be used to store the flood event information.
\Symfony\Component\HttpFoundation\Request $request: The HttpRequest object representing the current request.
public function __construct(Connection $connection, Request $request) {
$this->connection = $connection;
$this->request = $request;
}