CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions
cond::service::GetToken Struct Referenceabstract

#include <PoolDBOutputService.h>

Inheritance diagram for cond::service::GetToken:
cond::service::GetTokenFromPointer< T > cond::service::GetTrivialToken

Public Member Functions

virtual std::string operator() (cond::DbSession &, bool) const =0
 

Static Public Member Functions

static unsigned int sizeDSW ()
 

Detailed Description

transaction and data consistency

for create new tag, start write metadata transaction only if the first pool commit successful; for append,start readonly metadata transaction. start pool transaction only if metadata transaction successful.

Definition at line 59 of file PoolDBOutputService.h.

Member Function Documentation

virtual std::string cond::service::GetToken::operator() ( cond::DbSession ,
bool   
) const
pure virtual
unsigned int cond::service::GetToken::sizeDSW ( )
static

Definition at line 26 of file PoolDBOutputService.cc.

26  {
27  return dsw.size();
28 }