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
Context.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 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
26
27
#ifndef Hypertable_RangeServer_Context_h
28
#define Hypertable_RangeServer_Context_h
29
30
#include <
Hypertable/RangeServer/ServerState.h
>
31
#include <
Hypertable/RangeServer/TableInfoMap.h
>
32
33
#include <
AsyncComm/Comm.h
>
34
35
#include <
Common/Properties.h
>
36
37
#include <memory>
38
39
namespace
Hypertable
{
40
43
45
class
Context
{
46
public
:
48
PropertiesPtr
props
;
50
Comm
*
comm
{};
52
std::shared_ptr<ServerState>
server_state
;
54
TableInfoMapPtr
live_map
;
55
};
56
58
typedef
std::shared_ptr<Context>
ContextPtr
;
59
61
62
}
63
64
#endif // Hypertable_RangeServer_Context_h
Properties.h
Program options handling.
Hypertable::ContextPtr
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
Definition:
Context.h:265
TableInfoMap.h
Declarations for TableInfoMap.
Hypertable::Context::props
PropertiesPtr props
Configuration properties.
Definition:
Context.h:147
Hypertable::PropertiesPtr
std::shared_ptr< Properties > PropertiesPtr
Definition:
Properties.h:447
Hypertable::Context::server_state
std::shared_ptr< ServerState > server_state
Server state.
Definition:
Context.h:52
Hypertable::TableInfoMapPtr
std::shared_ptr< TableInfoMap > TableInfoMapPtr
Shared smart pointer to TableInfoMap.
Definition:
TableInfoMap.h:223
Hypertable
Hypertable definitions
Definition:
ApplicationHandler.h:36
Hypertable::Comm
Entry point to AsyncComm service.
Definition:
Comm.h:61
Comm.h
Declarations for Comm.
Hypertable::Context::live_map
TableInfoMapPtr live_map
Live table info map.
Definition:
Context.h:54
Hypertable::Context::comm
Comm * comm
Comm layer.
Definition:
Context.h:143
Hypertable::Context
Execution context for the Master.
Definition:
Context.h:85
ServerState.h
Declarations for ServerState.
Generated on Tue Dec 22 2015 18:43:13 for Hypertable by
1.8.8