net.sourceforge.argparse4j.inf.Namespace.getLong()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(3.4k)|赞(0)|评价(0)|浏览(89)

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

Namespace.getLong介绍

[英]Returns attribute as Long with given attribute name dest.
[中]返回具有给定属性名dest的属性。

代码示例

代码示例来源:origin: spotify/helios

final Long timeout = options.getLong(timeoutArg.getDest());
final Integer parallelism = options.getInt(parallelismArg.getDest());
final boolean async = options.getBoolean(asyncArg.getDest());
final long rolloutTimeout = options.getLong(rolloutTimeoutArg.getDest());
final Boolean migrate = options.getBoolean(migrateArg.getDest());
final Boolean overlap = options.getBoolean(overlapArg.getDest());

代码示例来源:origin: spotify/helios

.setPubsubPrefixes(getPubsubPrefixes())
.setStateDirectory(getStateDirectory())
.setAgentReapingTimeout(options.getLong(agentReapingTimeout.getDest()))
.setJobRetention(options.getLong(jobRetention.getDest()))
.setFfwdConfig(ffwdConfig(options))
.setWhitelistedCapabilities(ImmutableSet.copyOf(

代码示例来源:origin: lenskit/lenskit

Long user = ctx.options.getLong("user");
List<Long> items = ctx.options.get("items");
if (items == null) {

代码示例来源:origin: omkreddy/kafka-examples

String topic = res.getString("topic");
Boolean syncSend = res.getBoolean("syncsend");
long noOfMessages = res.getLong("messages");
long delay = res.getLong("delay");
String messageType = res.getString("messagetype");

代码示例来源:origin: omkreddy/kafka-examples

String topic = res.getString("topic");
Boolean syncSend = res.getBoolean("syncsend");
long noOfMessages = res.getLong("messages");
long delay = res.getLong("delay");
String messageType = res.getString("messagetype");

代码示例来源:origin: omkreddy/kafka-examples

String topic = res.getString("topic");
Boolean syncSend = res.getBoolean("syncsend");
long noOfMessages = res.getLong("messages");
long delay = res.getLong("delay");
String messageType = res.getString("messagetype");

代码示例来源:origin: omkreddy/kafka-examples

long noOfMessages = res.getLong("messages");
long delay = res.getLong("delay");
String messageType = res.getString("messagetype");

代码示例来源:origin: omkreddy/kafka-examples

String topic = res.getString("topic");
Boolean syncSend = res.getBoolean("syncsend");
long noOfMessages = res.getLong("messages");
long delay = res.getLong("delay");
String messageType = res.getString("messagetype");

代码示例来源:origin: graphhopper/map-matching

seed = args.getLong("seed");
count = args.getInt("count");

代码示例来源:origin: at.molindo/helios-tools

throws ExecutionException, InterruptedException, IOException {
final String name = options.getString(nameArg.getDest());
final long timeout = options.getLong(timeoutArg.getDest());
final int parallelism = options.getInt(parallelismArg.getDest());
final boolean async = options.getBoolean(asyncArg.getDest());
final long rolloutTimeout = options.getLong(rolloutTimeoutArg.getDest());
final boolean migrate = options.getBoolean(migrateArg.getDest());

代码示例来源:origin: reactor/reactor-kafka

int throughput = res.getInt("throughput");
String transactionalId = res.getString("transactionalId");
long transactionDurationMs = res.getLong("transactionDurationMs");
boolean useReactive = res.getBoolean("reactive");

相关文章