Candidate_v1.7.0
stable
|
Last change
on this file since ab2e834 was ab2e834, checked in by Frederik Heber <frederik.heber@…>, 3 months ago |
|
Reduces JobMarket features for use in kubernetes clusters.
- removes all functionality where we can enumerate the workers,
enroll or remove them.
- removes PoolGuard and CheckAlive functionality.
- removes the shutdown thread: not needed as we don't wait for busy
workers anymore.
- removes WorkerPool. This is now handled by the kubernetes deployment.
- TESTS: Removed respective unit and regression tests.
- TESTS: Adapted regression tests as worker now needs to be present when
first job is sent. Moreover, server needs to be equipped with worker
host and port.
|
-
Property mode
set to
100644
|
|
File size:
502 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * ControllerChoices.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Mar 1, 2012
|
|---|
| 5 | * Author: heber
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef CONTROLLERCHOICES_HPP_
|
|---|
| 9 | #define CONTROLLERCHOICES_HPP_
|
|---|
| 10 |
|
|---|
| 11 | // include config.h
|
|---|
| 12 | #ifdef HAVE_CONFIG_H
|
|---|
| 13 | #include <config.h>
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | //!> States the FragmentScheduler can be in to communicate with him
|
|---|
| 17 | enum ControllerChoices {
|
|---|
| 18 | NoControllerOperation,
|
|---|
| 19 | GetNextJobId,
|
|---|
| 20 | SendJobs,
|
|---|
| 21 | CheckState,
|
|---|
| 22 | ReceiveResults,
|
|---|
| 23 | EmptyResultQueue,
|
|---|
| 24 | EmptyJobQueue,
|
|---|
| 25 | ShutdownControllerSocket,
|
|---|
| 26 | };
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | #endif /* CONTROLLERCHOICES_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.