本文整理了Java中org.apache.helix.model.Message.setRetryCount()
方法的一些代码示例,展示了Message.setRetryCount()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.setRetryCount()
方法的具体详情如下:
包路径:org.apache.helix.model.Message
类名称:Message
方法名:setRetryCount
[英]Set the number of times to retry message handling on timeouts
[中]设置超时时重试消息处理的次数
代码示例来源:origin: org.apache.helix/helix-core
List<Message> list = generateMessage.get(receiverType);
for (Message tempMessage : list) {
tempMessage.setRetryCount(retryCount);
tempMessage.setExecutionTimeout(timeOut);
tempMessage.setSrcInstanceType(_manager.getInstanceType());
代码示例来源:origin: apache/helix
List<Message> list = generateMessage.get(receiverType);
for (Message tempMessage : list) {
tempMessage.setRetryCount(retryCount);
tempMessage.setExecutionTimeout(timeOut);
tempMessage.setSrcInstanceType(_manager.getInstanceType());
代码示例来源:origin: apache/helix
_message.setRetryCount(retryCount - 1);
HelixTask task = new HelixTask(_message, _notificationContext, _handler, _executor);
_executor.scheduleTask(task);
代码示例来源:origin: apache/helix
msg.setSrcName("127.101.1.23_2234");
msg.setExecutionTimeout((i + 1) * 600);
msg.setRetryCount(1);
msgList.add(msg);
代码示例来源:origin: org.apache.helix/helix-core
_message.setRetryCount(retryCount - 1);
HelixTask task = new HelixTask(_message, _notificationContext, _handler, _executor);
_executor.scheduleTask(task);
内容来源于网络,如有侵权,请联系作者删除!