Bool_t IsDefaultStorageSet() const {return fDefaultStorage != 0;}
AliCDBStorage* GetDefaultStorage() const {return fDefaultStorage;}
- void UnsetDefaultStorage() {fDefaultStorage = 0x0;}
-
- void SetRemoteStorage(const char* dbString);
- void SetRemoteStorage(const AliCDBParam* param);
- void SetRemoteStorage(AliCDBStorage *storage);
-
- Bool_t IsRemoteStorageSet() const {return fRemoteStorage != 0;}
- AliCDBStorage* GetRemoteStorage() const {return fRemoteStorage;}
- void UnsetRemoteStorage() {fRemoteStorage = 0x0;}
+ void UnsetDefaultStorage();
void SetSpecificStorage(const char* calibType, const char* dbString);
void SetSpecificStorage(const char* calibType, AliCDBParam* param);
void SetCacheFlag(Bool_t cacheFlag) {fCache=cacheFlag;}
Bool_t GetCacheFlag() const {return fCache;}
+
+ void SetLock(Bool_t lockFlag=kTRUE);
+ Bool_t GetLock() const {return fLock;}
void SetRun(Int_t run);
Int_t GetRun() const {return fRun;}
TList* fShortLived; //! List of short lived objects
AliCDBStorage *fDefaultStorage; //! pointer to default storage
- AliCDBStorage *fRemoteStorage; //! pointer to remote storage
AliCDBStorage *fDrainStorage; //! pointer to drain storage
AliCDBParam* fCondParam; // Conditions data storage parameters
Int_t fRun; //! The run number
Bool_t fCache; //! The cache flag
+ Bool_t fLock; //! Lock flag, if ON default storage and run number cannot be reset
ClassDef(AliCDBManager, 0);