Logo ROOT   6.08/07
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 #ifndef ROOT_TProofMonSender
24 #include "TProofMonSender.h"
25 #endif
26 
27 class TDSet;
28 class TList;
29 class TPerfStat;
31 
33 
34 private:
35  TVirtualMonitoringWriter *fWriter; // Writer instance connect to backend
36  TString fDSetSendOpts; // Opts for posting dataset table
37  TString fFilesSendOpts; // Opts for posting files table
38 
39 public:
40 
41  TProofMonSenderSQL(const char *serv, const char *user, const char *pass,
42  const char *table = "proof.proofquerylog",
43  const char *dstab = 0, const char *filestab = 0);
44  virtual ~TProofMonSenderSQL();
45 
46  // Summary record
47  Int_t SendSummary(TList *, const char *);
48 
49  // Information about the dataset(s) processed
50  Int_t SendDataSetInfo(TDSet *, TList *, const char *, const char *);
51 
52  // Detailed information about files
53  Int_t SendFileInfo(TDSet *, TList *, const char *, const char *);
54 
55  ClassDef(TProofMonSenderSQL, 0); // Interface for PROOF monitoring
56 };
57 
58 #endif
This class implements a data set to be used for PROOF processing.
Definition: TDSet.h:153
Int_t SendDataSetInfo(TDSet *, TList *, const char *, const char *)
Post information about the processed dataset(s).
Basic string class.
Definition: TString.h:137
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:254
TVirtualMonitoringWriter * fWriter
TProofMonSender implementation for the SQL writers.
A doubly linked list.
Definition: TList.h:47
Int_t SendFileInfo(TDSet *, TList *, const char *, const char *)
Post information about the requested files.
Int_t SendSummary(TList *, const char *)
Send 'summary' record for the table 'proofquerylog'.
virtual ~TProofMonSenderSQL()
Destructor.
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.
Provides the interface for PROOF monitoring to different writers.