| Modifier and Type | Class and Description |
|---|---|
static class |
Mesos.GarbageCollectorImpl
When Jenkins configuration is saved, teardown any active scheduler whose cloud has been removed.
|
static class |
Mesos.JenkinsSlave |
static class |
Mesos.SlaveRequest |
| Constructor and Description |
|---|
Mesos() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Mesos> |
getAllClouds() |
static Mesos |
getInstance(MesosCloud key) |
abstract org.apache.mesos.Scheduler |
getScheduler() |
abstract boolean |
isSchedulerRunning() |
abstract void |
startJenkinsSlave(Mesos.SlaveRequest request,
org.jenkinsci.plugins.mesos.Mesos.SlaveResult result)
Starts a jenkins slave asynchronously in the mesos cluster.
|
abstract void |
startScheduler(String jenkinsMaster,
MesosCloud mesosCloud) |
abstract void |
stopJenkinsSlave(String name)
Stop a jenkins slave asynchronously in the mesos cluster.
|
boolean |
stopScheduler()
Stops the scheduler gracefully.
|
abstract boolean |
stopScheduler(boolean force)
Stops the scheduler.
|
abstract void |
updateScheduler(String jenkinsMaster,
MesosCloud mesosCloud) |
public abstract void startScheduler(String jenkinsMaster, MesosCloud mesosCloud)
public abstract void updateScheduler(String jenkinsMaster, MesosCloud mesosCloud)
public abstract boolean isSchedulerRunning()
public boolean stopScheduler()
true if the scheduler is stopped after the call, false otherwise.public abstract boolean stopScheduler(boolean force)
force - false to stop the scheduler gracefully, true to force stoptrue if the scheduler is stopped after the call, false otherwise.public abstract org.apache.mesos.Scheduler getScheduler()
public abstract void startJenkinsSlave(Mesos.SlaveRequest request, org.jenkinsci.plugins.mesos.Mesos.SlaveResult result)
request - slave request.result - this callback will be called when the slave starts.public abstract void stopJenkinsSlave(String name)
name - jenkins slave.public static Mesos getInstance(MesosCloud key)
public static Collection<Mesos> getAllClouds()
Copyright © 2016. All rights reserved.