~ubuntu-branches/ubuntu/trusty/nordugrid-arc/trusty

« back to all changes in this revision

Viewing changes to src/libs/data-staging/Scheduler.h

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2012-12-13 16:41:31 UTC
  • mfrom: (3.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20121213164131-wii0p2fcv7e3en93
Tags: 2.0.1-1
* 2.0.1 Release
* Drop patches accepted upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    /// A list of DTRs to process
38
38
    std::list<DTR_ptr> events;
39
39
 
40
 
    /// List of staged DTRs. Filled each event processing loop
41
 
    std::list<DTR_ptr> staged_queue;
 
40
    /// Map of transfer shares to staged DTRs. Filled each event processing loop
 
41
    std::map<std::string, std::list<DTR_ptr> > staged_queue;
42
42
 
43
43
    /// A lock for the cancelled jobs list
44
44
    Arc::SimpleCondition cancelled_jobs_lock;
62
62
    Arc::SimpleCondition dump_signal;
63
63
 
64
64
    /// Limit on number of DTRs in pre-processor
65
 
    int PreProcessorSlots;
 
65
    unsigned int PreProcessorSlots;
66
66
    /// Limit on number of DTRs in delivery
67
 
    int DeliverySlots;
 
67
    unsigned int DeliverySlots;
68
68
    /// Limit on number of DTRs in post-processor
69
 
    int PostProcessorSlots;
 
69
    unsigned int PostProcessorSlots;
70
70
    /// Limit on number of emergency DTRs in each state
71
 
    int EmergencySlots;
 
71
    unsigned int EmergencySlots;
72
72
    /// Limit on number of staged-prepared files, per share
73
 
    int StagedPreparedSlots;
 
73
    unsigned int StagedPreparedSlots;
74
74
 
75
75
    /// Where to dump DTR state. Currently only a path to a file is supported.
76
76
    std::string dumplocation;