Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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;
28 class TVirtualMonitoringWriter;
29 
30 class TProofMonSenderSQL : public TProofMonSender {
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