Package hudson.plugins.gearman
Class GearmanProxy
java.lang.Object
hudson.plugins.gearman.GearmanProxy
This class is used to startup and shutdown the gearman workers.
It is also used to keep gearman plugin state info.
- Author:
- Khai Do
-
Method Summary
Modifier and TypeMethodDescriptioncanTake
(Node node, Queue.BuildableItem item) void
createExecutorWorkersOnNode
(Computer computer) void
getAvailabilityMonitor
(Computer computer) static GearmanProxy
int
void
void
void
void
void
stopAll()
protected void
-
Method Details
-
getInstance
-
testResetHandles
protected void testResetHandles() -
initWorkers
public void initWorkers() -
createManagementWorker
public void createManagementWorker() -
createExecutorWorkersOnNode
-
stopAll
public void stopAll() -
stop
-
getNumExecutors
public int getNumExecutors() -
onBuildFinalized
-
getAvailabilityMonitor
-
canTake
-
registerJobs
public void registerJobs()
-