1143.3.4
by Jay Pipes
Adds INFORMATION_SCHEMA views for the transaction log: |
1 |
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
|
2 |
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
|
|
3 |
*
|
|
4 |
* Copyright (C) 2009 Sun Microsystems
|
|
5 |
*
|
|
6 |
* Authors:
|
|
7 |
*
|
|
8 |
* Jay Pipes <joinfu@sun.com>
|
|
9 |
*
|
|
10 |
* This program is free software; you can redistribute it and/or modify
|
|
11 |
* it under the terms of the GNU General Public License as published by
|
|
12 |
* the Free Software Foundation; either version 2 of the License, or
|
|
13 |
* (at your option) any later version.
|
|
14 |
*
|
|
15 |
* This program is distributed in the hope that it will be useful,
|
|
16 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18 |
* GNU General Public License for more details.
|
|
19 |
*
|
|
20 |
* You should have received a copy of the GNU General Public License
|
|
21 |
* along with this program; if not, write to the Free Software
|
|
22 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
23 |
*/
|
|
24 |
||
25 |
/**
|
|
26 |
* @file
|
|
27 |
*
|
|
28 |
* Defines the methods used by the background worker thread which
|
|
29 |
* maintains summary information about the transaction log.
|
|
30 |
*/
|
|
31 |
||
32 |
#ifndef PLUGIN_TRANSACTION_LOG_BACKGROUND_WORKER_H
|
|
33 |
#define PLUGIN_TRANSACTION_LOG_BACKGROUND_WORKER_H
|
|
34 |
||
35 |
#include <pthread.h> |
|
36 |
||
37 |
/**
|
|
38 |
* Initializes the background worker thread
|
|
39 |
*
|
|
40 |
* @return false on success; true on failure
|
|
41 |
*/
|
|
42 |
bool initTransactionLogBackgroundWorker(); |
|
43 |
||
44 |
/**
|
|
45 |
* The routine which the background worker executes
|
|
46 |
*/
|
|
47 |
extern "C" { |
|
1241.9.12
by Monty Taylor
Trims more out of server_includes.h. |
48 |
void *collectTransactionLogStats(void *arg); |
1143.3.4
by Jay Pipes
Adds INFORMATION_SCHEMA views for the transaction log: |
49 |
}
|
50 |
||
51 |
#endif /* PLUGIN_TRANSACTION_LOG_BACKGROUND_WORKER_H */ |