Logo ROOT  
Reference Guide
TProofMonSenderSQL.h
Go to the documentation of this file.
1// @(#)root/proofplayer:$Id$
2// Author: G.Ganis July 2011
3
4/*************************************************************************
5 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TProofMonSenderSQL
13#define ROOT_TProofMonSenderSQL
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// TProofMonSenderSQL //
18// //
19// TProofMonSender implementation for SQL writers. //
20// //
21//////////////////////////////////////////////////////////////////////////
22
23#include "TProofMonSender.h"
24
25class TDSet;
26class TList;
27class TPerfStat;
29
31
32private:
33 TVirtualMonitoringWriter *fWriter; // Writer instance connect to backend
34 TString fDSetSendOpts; // Opts for posting dataset table
35 TString fFilesSendOpts; // Opts for posting files table
36
37public:
38
39 TProofMonSenderSQL(const char *serv, const char *user, const char *pass,
40 const char *table = "proof.proofquerylog",
41 const char *dstab = 0, const char *filestab = 0);
42 virtual ~TProofMonSenderSQL();
43
44 // Summary record
45 Int_t SendSummary(TList *, const char *);
46
47 // Information about the dataset(s) processed
48 Int_t SendDataSetInfo(TDSet *, TList *, const char *, const char *);
49
50 // Detailed information about files
51 Int_t SendFileInfo(TDSet *, TList *, const char *, const char *);
52
53 ClassDef(TProofMonSenderSQL, 0); // Interface for PROOF monitoring
54};
55
56#endif
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:326
This class implements a data set to be used for PROOF processing.
Definition: TDSet.h:153
A doubly linked list.
Definition: TList.h:44
TProofMonSender implementation for the SQL writers.
virtual ~TProofMonSenderSQL()
Destructor.
Int_t SendFileInfo(TDSet *, TList *, const char *, const char *)
Post information about the requested files.
Int_t SendDataSetInfo(TDSet *, TList *, const char *, const char *)
Post information about the processed dataset(s).
Int_t SendSummary(TList *, const char *)
Send 'summary' record for the table 'proofquerylog'.
TProofMonSenderSQL(const char *serv, const char *user, const char *pass, const char *table="proof.proofquerylog", const char *dstab=0, const char *filestab=0)
Main constructor.
TVirtualMonitoringWriter * fWriter
Provides the interface for PROOF monitoring to different writers.
Basic string class.
Definition: TString.h:131