This rearranges a bit of the previous change to move the WaitBool functionality into an AvailabilityChecker class. It implements the new feature of not grabbing jobs while not in the quiet mode for shutdown by using a busy wait. There doesn't seem to be an event framework for that, and well, it doesn't happen very often, so a slow busy wait probably isn't terrible. This only applies to Executor workers, not Management workers (so jobs can still be stopped and descriptions set). Removed the default-name constructor of AbstractWorkerThread because it is not used anywhere now (removed its test as well). Change-Id: I6d5e1cd3cb47c8876ceb909d205cb66445388992
Overview
This plugin uses Gearman to support multiple Jenkins masters. More info can be found at https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin
Contributing
If you would like to contribute to the development of OpenStack, you must follow the steps in the "If you're a developer, start here" section of this page:
Once those steps have been completed, changes to OpenStack should be submitted for review via the Gerrit tool, following the workflow documented at:
Pull requests submitted through GitHub will be ignored.
Project site:
Patches are submitted via Gerrit at:
Bugs should be filed on Launchpad, not GitHub:
Cloning:
License
Copyright 2013 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.