libfoedus-core
FOEDUS Core Library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
fwd.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP.
3  * This program is free software; you can redistribute it and/or modify it
4  * under the terms of the GNU General Public License as published by the Free
5  * Software Foundation; either version 2 of the License, or (at your option)
6  * any later version.
7  *
8  * This program is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11  * more details. You should have received a copy of the GNU General Public
12  * License along with this program; if not, write to the Free Software
13  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
14  *
15  * HP designates this particular file as subject to the "Classpath" exception
16  * as provided by HP in the LICENSE.txt file that accompanied this code.
17  */
18 #ifndef FOEDUS_SNAPSHOT_FWD_HPP_
19 #define FOEDUS_SNAPSHOT_FWD_HPP_
20 
25 namespace foedus {
26 namespace snapshot {
29 struct LogBuffer;
30 class LogGleaner;
32 class LogGleanerRef;
33 struct LogGleanerResource;
34 class LogMapper;
35 class LogReducer;
37 class LogReducerRef;
38 class MapReduceBase;
39 class MergeSort;
40 struct NumaThreadScope;
41 struct Snapshot;
42 class SnapshotManager;
45 struct SnapshotMetadata;
46 struct SnapshotOptions;
47 class SnapshotWriter;
48 class SortedBuffer;
49 } // namespace snapshot
50 } // namespace foedus
51 #endif // FOEDUS_SNAPSHOT_FWD_HPP_
Packages handling of 4-bytes representation of position in log buffers.
Definition: log_buffer.hpp:38
Represents the data in one snapshot metadata file.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Definition: assert_nd.hpp:44
A log-gleaner, which constructs a new set of snapshot files during snapshotting.
Local resource for the log gleaner, which runs only in the master node.
Represents one input stream of sorted log entries.
Definition: log_buffer.hpp:81
A log mapper, which reads log files from one logger and sends them to corresponding log reducers...
Snapshot manager that atomically and durably writes out a snapshot file.
A remote view of LogReducer from all engines.
Receives an arbitrary number of sorted buffers and emits one fully sorted stream of logs...
Definition: merge_sort.hpp:77
Represents one snapshot that converts all logs from base epoch to valid_until epoch into snapshot fil...
Definition: snapshot.hpp:37
Set of options for snapshot manager.
Implementation of SortedBuffer that is backed by a dumped file.
Definition: log_buffer.hpp:247
A remote view of LogGleaner from all engines.
Base class for LogMapper and LogReducer to share common code.
Implementation of SortedBuffer that is backed by fully in-memory buffer.
Definition: log_buffer.hpp:225
A log reducer, which receives log entries sent from mappers and applies them to construct new snapsho...
Writes out one snapshot file for all data pages in one reducer.