Maintains a collection of remote schedulers.
#include <Workspace/DataExecution/Execution/schedulers.h>
Inherits QObject.
◆ const_iterator
◆ SchedulerList
◆ Schedulers()
constructs the servers collection
◆ ~Schedulers()
◆ add()
adds a server to the collection, this is an overload.
- Parameters
-
sharedPointer | the scheduler to add |
◆ begin()
◆ clear()
clears the servers in the collection
◆ count()
- Returns
- returns a count of the servers in the collection
◆ countOfEnabled()
int countOfEnabled |
( |
| ) |
const |
- Returns
- returns a count of the enabled servers in the collection
◆ demote()
demotes the provided server
◆ empty()
Returns true if there are no contained schedulers.
- Returns
- true if no schedulers are held in this container.
◆ end()
◆ getIdealWorkload()
int getIdealWorkload |
( |
| ) |
const |
Returns the ideal workload the list of servers can support.
◆ indexOf()
- Returns
- returns the index of the provided server. If server not presented in the schedulers_, -1 is returned.
◆ indexToScope()
Get scope from a 0 based index.
◆ load()
◆ operator[]() [1/2]
array access operator
- Parameters
-
index | the index of the element to return |
- Returns
- returns the server at index
◆ operator[]() [2/2]
array access operator
- Parameters
-
index | the index of the element to return |
- Returns
- returns the server at index
◆ promote()
promotes the provided server
◆ remove()
removes a server from the collection
- Parameters
-
index | the index of the server to remove |
- Exceptions
-
std::out_of_range | exception |
◆ save()
◆ schedule()
Schedules a workspace request.
◆ scheduleOutOfProcess()
◆ scopeToIndex()
Get 0 based index of scopes when sorted. static method
◆ sort()
◆ sortedScopes()
Get scope from a 0 based index.
◆ start()
◆ stop()
◆ supports()
Returns true if at least one contained scheduler supports the provided features.