1 #ifndef AliStorageClientThread_H
2 #define AliStorageClientThread_H
4 #include "AliStorageDatabase.h"
10 class AliStorageClientThread
13 AliStorageClientThread();
14 ~AliStorageClientThread();
19 Int_t fConnectionStatus;
20 Int_t fReceivingStatus;
23 //zmq - receive events
24 std::string fEventServer;
26 //zmq - communication with admin panel
27 static void* CommunicationHandler(void *arg);
28 TThread *fCommunicationThread;
31 void CheckCurrentStorageSize();
32 void SetStorageParams(int maxStorageSize,
38 AliStorageDatabase *fDatabase;
39 int fCurrentStorageSize;
40 int fMaximumStorageSize;
41 std::string fStoragePath;
42 int fNumberOfEventsInFile;
43 int fStorageOccupationLevel;
44 int fRemoveEventsPercentage;
46 Long64_t GetSizeOfAllChunks();
48 AliStorageClientThread(const AliStorageClientThread&);
49 AliStorageClientThread& operator=(const AliStorageClientThread&);