0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TableScannerHandler.h
Go to the documentation of this file.
1 /* -*- c++ -*-
2  * Copyright (C) 2007-2015 Hypertable, Inc.
3  *
4  * This file is part of Hypertable.
5  *
6  * Hypertable is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 3
9  * of the License, or any later version.
10  *
11  * Hypertable is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with Hypertable. If not, see <http://www.gnu.org/licenses/>
18  */
19 
20 #ifndef HYPERTABLE_TABLESCANNERHANDLER_H
21 #define HYPERTABLE_TABLESCANNERHANDLER_H
22 
24 
25 namespace Hypertable {
26 
27 class TableScannerAsync;
28 
30  TableScannerHandler(TableScannerAsync *scanner, int interval_scanner, EventPtr &event,
31  bool is_create)
32  : ApplicationHandler(event), m_scanner(scanner), m_interval_scanner(interval_scanner),
33  m_is_create(is_create){ }
34 
35  virtual void run();
36 
40 };
41 
42 }// namespace Hypertable
43 #endif /* HYPERTABLE_TABLESCANNERHANDLER_H */
Declarations of ApplicationHandler.
Asynchronous table scanner.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
Definition: Event.h:228
virtual void run()
Carries out the request.
Hypertable definitions
Base clase for application handlers.
TableScannerHandler(TableScannerAsync *scanner, int interval_scanner, EventPtr &event, bool is_create)