12#ifndef ROOT_TPacketizer
13#define ROOT_TPacketizer
#define ClassDef(name, id)
Manages an element of a TDSet.
This class implements a data set to be used for PROOF processing.
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
This class generates packets to be processed on PROOF worker servers.
TFileStat * GetNextActive()
Get next active file.
TFileNode * NextActiveNode()
Get next active node.
virtual ~TPacketizer()
Destructor.
void RemoveUnAllocNode(TFileNode *)
Remove unallocated node.
void operator=(const TPacketizer &)
Int_t AddWorkers(TList *workers)
Adds new workers. Returns the number of workers added, or -1 on failure.
TFileNode * NextUnAllocNode()
Get next unallocated node.
Int_t GetActiveWorkers()
Return the number of workers still processing.
void Reset()
Reset the internal datastructure for packet distribution.
TPacketizer(const TPacketizer &)
TFileStat * GetNextUnAlloc(TFileNode *node=0)
Get next unallocated file.
void RemoveActiveNode(TFileNode *)
Remove node from the list of actives.
TDSetElement * GetNextPacket(TSlave *sl, TMessage *r)
Get next packet.
Float_t GetCurrentRate(Bool_t &all)
Get Estimation of the current rate; just summing the current rates of the active workers.
void ValidateFiles(TDSet *dset, TList *slaves, Long64_t maxent=-1, Bool_t byfile=kFALSE)
Check existence of file/dir/tree an get number of entries.
void RemoveActive(TFileStat *file)
Remove file from the list of actives.
Container class for processing statistics.
Class describing a PROOF worker server.
Handles synchronous and a-synchronous timer events.
A TTree object has a header with a name and a title.
The packetizer is a load balancing object created for each query.
Long64_t GetEntriesProcessed() const