toil.test.mesos.stress
¶
Module Contents¶
Classes¶
Class represents a unit of work in toil. |
|
Class represents a unit of work in toil. |
|
Class represents a unit of work in toil. |
|
Class represents a unit of work in toil. |
Functions¶
|
|
|
- class toil.test.mesos.stress.LongTestJob(numJobs)[source]¶
Bases:
digraph inheritancefc871284ac { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Job" [URL="../../../job/index.html#toil.job.Job",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class represents a unit of work in toil."]; "LongTestJob" [URL="#toil.test.mesos.stress.LongTestJob",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Job" -> "LongTestJob" [arrowsize=0.5,style="setlinewidth(0.5)"]; }toil.job.Job
Class represents a unit of work in toil.
- run(fileStore)[source]¶
Override this function to perform work and dynamically create successor jobs.
- Parameters:
fileStore – Used to create local and globally sharable temporary files and to send log messages to the leader process.
- Returns:
The return value of the function can be passed to other jobs by means of
toil.job.Job.rv()
.
- class toil.test.mesos.stress.LongTestFollowOn[source]¶
Bases:
digraph inheritanceafec75a3c7 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Job" [URL="../../../job/index.html#toil.job.Job",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class represents a unit of work in toil."]; "LongTestFollowOn" [URL="#toil.test.mesos.stress.LongTestFollowOn",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Job" -> "LongTestFollowOn" [arrowsize=0.5,style="setlinewidth(0.5)"]; }toil.job.Job
Class represents a unit of work in toil.
- run(fileStore)[source]¶
Override this function to perform work and dynamically create successor jobs.
- Parameters:
fileStore – Used to create local and globally sharable temporary files and to send log messages to the leader process.
- Returns:
The return value of the function can be passed to other jobs by means of
toil.job.Job.rv()
.
- class toil.test.mesos.stress.HelloWorldJob(i)[source]¶
Bases:
digraph inheritance6af8080cf6 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "HelloWorldJob" [URL="#toil.test.mesos.stress.HelloWorldJob",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Job" -> "HelloWorldJob" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Job" [URL="../../../job/index.html#toil.job.Job",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class represents a unit of work in toil."]; }toil.job.Job
Class represents a unit of work in toil.
- run(fileStore)[source]¶
Override this function to perform work and dynamically create successor jobs.
- Parameters:
fileStore – Used to create local and globally sharable temporary files and to send log messages to the leader process.
- Returns:
The return value of the function can be passed to other jobs by means of
toil.job.Job.rv()
.
- class toil.test.mesos.stress.HelloWorldFollowOn(i)[source]¶
Bases:
digraph inheritance2aab3cd270 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "HelloWorldFollowOn" [URL="#toil.test.mesos.stress.HelloWorldFollowOn",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Job" -> "HelloWorldFollowOn" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Job" [URL="../../../job/index.html#toil.job.Job",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class represents a unit of work in toil."]; }toil.job.Job
Class represents a unit of work in toil.
- run(fileStore)[source]¶
Override this function to perform work and dynamically create successor jobs.
- Parameters:
fileStore – Used to create local and globally sharable temporary files and to send log messages to the leader process.
- Returns:
The return value of the function can be passed to other jobs by means of
toil.job.Job.rv()
.