hudson.model.Messages._LoadStatistics_Legends_QueueLength()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中hudson.model.Messages._LoadStatistics_Legends_QueueLength()方法的一些代码示例,展示了Messages._LoadStatistics_Legends_QueueLength()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Messages._LoadStatistics_Legends_QueueLength()方法的具体详情如下:
包路径:hudson.model.Messages
类名称:Messages
方法名:_LoadStatistics_Legends_QueueLength

Messages._LoadStatistics_Legends_QueueLength介绍

[英]Queue length
[中]

代码示例

代码示例来源:origin: jenkinsci/jenkins

protected LoadStatistics(int initialOnlineExecutors, int initialBusyExecutors) {
  this.definedExecutors = new MultiStageTimeSeries(Messages._LoadStatistics_Legends_DefinedExecutors(),
      ColorPalette.YELLOW, initialOnlineExecutors, DECAY);
  this.onlineExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_OnlineExecutors(), ColorPalette.BLUE, initialOnlineExecutors,DECAY);
  this.connectingExecutors = new MultiStageTimeSeries(Messages._LoadStatistics_Legends_ConnectingExecutors(),
      ColorPalette.YELLOW, 0, DECAY);
  this.busyExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_BusyExecutors(), ColorPalette.RED, initialBusyExecutors,DECAY);
  this.idleExecutors = new MultiStageTimeSeries(Messages._LoadStatistics_Legends_IdleExecutors(),
      ColorPalette.YELLOW, initialOnlineExecutors - initialBusyExecutors, DECAY);
  this.availableExecutors = new MultiStageTimeSeries(Messages._LoadStatistics_Legends_AvailableExecutors(),
      ColorPalette.YELLOW, initialOnlineExecutors - initialBusyExecutors, DECAY);
  this.queueLength = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_QueueLength(),ColorPalette.GREY, 0, DECAY);
  this.totalExecutors = onlineExecutors;
  modern = isModern(getClass());
}

代码示例来源:origin: org.eclipse.hudson/hudson-core

protected LoadStatistics(int initialTotalExecutors, int initialBusyExecutors) {
  this.totalExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_TotalExecutors(), ColorPalette.BLUE, initialTotalExecutors, DECAY);
  this.busyExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_BusyExecutors(), ColorPalette.RED, initialBusyExecutors, DECAY);
  this.queueLength = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_QueueLength(), ColorPalette.GREY, 0, DECAY);
}

代码示例来源:origin: org.jvnet.hudson.main/hudson-core

protected LoadStatistics(int initialTotalExecutors, int initialBusyExecutors) {
  this.totalExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_TotalExecutors(), ColorPalette.BLUE, initialTotalExecutors,DECAY);
  this.busyExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_BusyExecutors(), ColorPalette.RED, initialBusyExecutors,DECAY);
  this.queueLength = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_QueueLength(),ColorPalette.GREY, 0, DECAY);
}

代码示例来源:origin: hudson/hudson-2.x

protected LoadStatistics(int initialTotalExecutors, int initialBusyExecutors) {
  this.totalExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_TotalExecutors(), ColorPalette.BLUE, initialTotalExecutors,DECAY);
  this.busyExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_BusyExecutors(), ColorPalette.RED, initialBusyExecutors,DECAY);
  this.queueLength = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_QueueLength(),ColorPalette.GREY, 0, DECAY);
}

代码示例来源:origin: org.eclipse.hudson.main/hudson-core

protected LoadStatistics(int initialTotalExecutors, int initialBusyExecutors) {
  this.totalExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_TotalExecutors(), ColorPalette.BLUE, initialTotalExecutors,DECAY);
  this.busyExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_BusyExecutors(), ColorPalette.RED, initialBusyExecutors,DECAY);
  this.queueLength = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_QueueLength(),ColorPalette.GREY, 0, DECAY);
}

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

protected LoadStatistics(int initialOnlineExecutors, int initialBusyExecutors) {
  this.definedExecutors = new MultiStageTimeSeries(Messages._LoadStatistics_Legends_DefinedExecutors(),
      ColorPalette.YELLOW, initialOnlineExecutors, DECAY);
  this.onlineExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_OnlineExecutors(), ColorPalette.BLUE, initialOnlineExecutors,DECAY);
  this.connectingExecutors = new MultiStageTimeSeries(Messages._LoadStatistics_Legends_ConnectingExecutors(),
      ColorPalette.YELLOW, 0, DECAY);
  this.busyExecutors = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_BusyExecutors(), ColorPalette.RED, initialBusyExecutors,DECAY);
  this.idleExecutors = new MultiStageTimeSeries(Messages._LoadStatistics_Legends_IdleExecutors(),
      ColorPalette.YELLOW, initialOnlineExecutors - initialBusyExecutors, DECAY);
  this.availableExecutors = new MultiStageTimeSeries(Messages._LoadStatistics_Legends_AvailableExecutors(),
      ColorPalette.YELLOW, initialOnlineExecutors - initialBusyExecutors, DECAY);
  this.queueLength = new MultiStageTimeSeries(
      Messages._LoadStatistics_Legends_QueueLength(),ColorPalette.GREY, 0, DECAY);
  this.totalExecutors = onlineExecutors;
  modern = isModern(getClass());
}

相关文章

Messages类方法