本文整理了Java中hudson.model.Computer.remove()
方法的一些代码示例,展示了Computer.remove()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Computer.remove()
方法的具体详情如下:
包路径:hudson.model.Computer
类名称:Computer
方法名:remove
[英]Called by Executor to kill excessive executors from this computer.
[中]由执行者调用以从此计算机中杀死过多的执行者。
代码示例来源:origin: jenkinsci/jenkins
private void finish2() {
for (RuntimeException e1 : owner.getTerminatedBy()) {
LOGGER.log(Level.FINE, String.format("%s termination trace", getName()), e1);
}
owner.removeExecutor(this);
if (this instanceof OneOffExecutor) {
owner.remove((OneOffExecutor) this);
}
executableEstimatedDuration = DEFAULT_ESTIMATED_DURATION;
queue.scheduleMaintenance();
}
代码示例来源:origin: org.eclipse.hudson.main/hudson-core
@Override
public void run() {
try {
super.run();
} finally {
owner.remove(this);
}
}
}
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
private void finish2() {
for (RuntimeException e1 : owner.getTerminatedBy()) {
LOGGER.log(Level.FINE, String.format("%s termination trace", getName()), e1);
}
owner.removeExecutor(this);
if (this instanceof OneOffExecutor) {
owner.remove((OneOffExecutor) this);
}
queue.scheduleMaintenance();
}
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
@Override
public void run() {
try {
super.run();
} finally {
owner.remove(this);
}
}
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
@Override
public void run() {
try {
super.run();
} finally {
owner.remove(this);
}
}
}
代码示例来源:origin: hudson/hudson-2.x
@Override
public void run() {
try {
super.run();
} finally {
owner.remove(this);
}
}
}
内容来源于网络,如有侵权,请联系作者删除!