Logo ROOT   6.12/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 #include "TProofMonSender.h"
24 
25 class TDSet;
26 class TList;
27 class TPerfStat;
29 
31 
32 private:
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 
37 public:
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
This class implements a data set to be used for PROOF processing.
Definition: TDSet.h:151
Int_t SendDataSetInfo(TDSet *, TList *, const char *, const char *)
Post information about the processed dataset(s).
Basic string class.
Definition: TString.h:125
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:320
TVirtualMonitoringWriter * fWriter
TProofMonSender implementation for the SQL writers.
A doubly linked list.
Definition: TList.h:44
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.