0.9.8.10
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
home
doug
src
hypertable
src
cc
Hypertable
RangeServer
Request
Handler
DoMaintenance.cc
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; version 3 of the
9
* 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 this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19
* 02110-1301, USA.
20
*/
21
22
#include <
Common/Compat.h
>
23
24
#include "
DoMaintenance.h
"
25
26
#include <
Hypertable/RangeServer/RangeServer.h
>
27
28
using namespace
Hypertable::RangeServer::Request::Handler
;
29
30
void
DoMaintenance::run
() {
31
try
{
32
m_range_server
->
do_maintenance
();
33
}
34
catch
(
Exception
&e) {
35
HT_ERROR_OUT
<<
"DoMaintenance "
<< e <<
HT_END
;
36
}
37
}
Hypertable::RangeServer::Request::Handler::DoMaintenance::m_range_server
Apps::RangeServer * m_range_server
Definition:
DoMaintenance.h:46
Hypertable::RangeServer::Request::Handler
Definition:
AcknowledgeLoad.h:33
RangeServer.h
Declarations for RangeServer.
Hypertable::RangeServer::Request::Handler::DoMaintenance::run
virtual void run()
Carries out the request.
Definition:
DoMaintenance.cc:30
Compat.h
Compatibility Macros for C/C++.
HT_END
#define HT_END
Definition:
Logger.h:220
HT_ERROR_OUT
#define HT_ERROR_OUT
Definition:
Logger.h:301
DoMaintenance.h
Hypertable::Exception
This is a generic exception class for Hypertable.
Definition:
Error.h:314
Hypertable::Apps::RangeServer::do_maintenance
void do_maintenance()
Definition:
RangeServer.cc:3670
Generated on Tue Dec 22 2015 18:43:17 for Hypertable by
1.8.8