KIO
Go to the documentation of this file.
41 void scheduleGrimReaper();
47 QMultiHash<QString, KIO::Slave *> m_idleSlaves;
58 bool isEmpty()
const {
return m_queuedJobs.isEmpty() && m_runningJobs.isEmpty(); }
60 #ifdef SCHEDULER_DEBUG
61 QList<KIO::SimpleJob *> runningJobs()
const {
return m_runningJobs.toList(); }
72 QSet<KIO::SimpleJob *> m_runningJobs;
96 bool isEmpty()
const {
return m_connectedSlaves.isEmpty(); }
97 QList<KIO::Slave *>
allSlaves()
const {
return m_connectedSlaves.keys(); }
100 void startRunnableJobs();
103 QHash<KIO::Slave *, PerSlaveQueue> m_connectedSlaves;
104 QSet<KIO::Slave *> m_runnableSlaves;
105 QTimer m_startJobsTimer;
109 class SchedulerPrivate;
120 if (m_offset >= m_jobsPerPriority) {
129 static const uint m_jobsPerPriority = 100000000;
140 ProtoQueue(KIO::SchedulerPrivate *sp,
int maxSlaves,
int maxSlavesPerHost);
157 QTimer m_startJobTimer;
159 QHash<QString, HostQueue> m_queuesByHostname;
160 KIO::SchedulerPrivate *m_schedPrivate;
162 int m_maxConnectionsPerHost;
163 int m_maxConnectionsTotal;
164 int m_runningJobsCount;
169 #endif //SCHEDULER_P_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 11:47:55 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.