com.typesafe.config.Config.getInt()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(185)

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

Config.getInt介绍

暂无

代码示例

代码示例来源:origin: ben-manes/caffeine

public int numberOfQueues() {
 int queues = config().getInt("multi-queue.num-queues");
 checkArgument(queues > 0, "Must have one or more queues");
 checkArgument(queues <= 62, "May not have more than 62 queues");
 return queues;
}
public double percentOut() {

代码示例来源:origin: ben-manes/caffeine

public int maximumWindowSize() {
 return config().getInt("feedback-window-tiny-lfu.maximum-window-size");
}
public int maximumSampleSize() {

代码示例来源:origin: ben-manes/caffeine

public int sampleSize() {
 return config().getInt("sampled.size");
}
public Sample sampleStrategy() {

代码示例来源:origin: ben-manes/caffeine

public int ssSize() {
  return config().getInt("indicator.ss-size");
 }
}

代码示例来源:origin: ben-manes/caffeine

public int initCount() {
 return config().getInt("collision.init-count");
}
public int bucketSize() {

代码示例来源:origin: ben-manes/caffeine

public int bucketSize() {
 return config().getInt("collision.bucket-size");
}
public double sparseFactor() {

代码示例来源:origin: ben-manes/caffeine

public int start() {
  return config().getInt("synthetic.counter.start");
 }
}

代码示例来源:origin: ben-manes/caffeine

public int upperBound() {
 return config().getInt("synthetic.hotspot.upper-bound");
}
public double hotsetFraction() {

代码示例来源:origin: ben-manes/caffeine

public int pivotDecrement() {
 return config().getInt("feedback-window-tiny-lfu.pivot-decrement");
}
public int maximumWindowSize() {

代码示例来源:origin: ben-manes/caffeine

public int lifetime() {
 return config().getInt("multi-queue.lifetime");
}
public int numberOfQueues() {

代码示例来源:origin: ben-manes/caffeine

public int period() {
  return config().getInt("frd.period");
 }
}

代码示例来源:origin: ben-manes/caffeine

public int interval() {
  return config().getInt("tiny-lfu.count-min-4.incremental.interval");
 }
}

代码示例来源:origin: ben-manes/caffeine

public int lowerBound() {
 return config().getInt("synthetic.uniform.lower-bound");
}
public int upperBound() {

代码示例来源:origin: ben-manes/caffeine

@SuppressWarnings("PMD.ShortMethodName")
public int k() {
 return config().getInt("indicator.k");
}

代码示例来源:origin: ben-manes/caffeine

public int levels() {
 return config().getInt("s4-window-tiny-lfu.levels");
}
public List<Double> percentMain() {

代码示例来源:origin: ben-manes/caffeine

public int maximumSampleSize() {
 return config().getInt("feedback-window-tiny-lfu.maximum-sample-size");
}
public double adaptiveFpp() {

代码示例来源:origin: ben-manes/caffeine

public int minisimPeriod() {
  return config().getInt("hill-climber-window-tiny-lfu.minisim.period");
 }
}

代码示例来源:origin: ben-manes/caffeine

public int maximumInsertionGain() {
 return config().getInt("feedback-tiny-lfu.maximum-insertion-gain");
}
public int maximumSampleSize() {

代码示例来源:origin: ben-manes/caffeine

public int maximumSampleSize() {
 return config().getInt("feedback-tiny-lfu.maximum-sample-size");
}
public double adaptiveFpp() {

代码示例来源:origin: ben-manes/caffeine

public int pivotIncrement() {
 return config().getInt("feedback-window-tiny-lfu.pivot-increment");
}
public int pivotDecrement() {

相关文章