if (instance < 0) {
throw new IllegalStateException("Attempt to send a start request to server/backend "
+ serverOrBackendName + " instance " + instance);
}
InstanceState unchangedState =
instanceStateHolder.testAndSetIf(InstanceState.RUNNING_START_REQUEST,
InstanceState.SLEEPING);
if (unchangedState == null) {
Thread requestThread = new Thread(new Runnable() {
@Override