com.cloudhopper.commons.util.windowing.WindowFuture.getKey()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(177)

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

WindowFuture.getKey介绍

[英]Gets the key of the window entry.
[中]获取窗口项的键。

代码示例

代码示例来源:origin: twitter-archive/cloudhopper-smpp

@Override
public String toString() {
  StringBuilder buf = new StringBuilder(100);
  buf.append("smpp_async_resp: seqNum [0x");
  buf.append(HexUtil.toHexString(this.future.getKey()));
  buf.append("] windowSize [");
  buf.append(getWindowSize());
  buf.append("] windowWaitTime [");
  buf.append(getWindowWaitTime());
  buf.append(" ms] responseTime [");
  buf.append(getResponseTime());
  buf.append(" ms] estProcessingTime [");
  buf.append(getEstimatedProcessingTime());
  buf.append(" ms] reqType [");
  buf.append(getRequest().getName());
  buf.append("] respType [");
  buf.append(getResponse().getName());
  buf.append("]");
  return buf.toString();
}

代码示例来源:origin: com.fizzed/ch-smpp

@Override
public String toString() {
  StringBuilder buf = new StringBuilder(100);
  buf.append("smpp_async_resp: seqNum [0x");
  buf.append(HexUtil.toHexString(this.future.getKey()));
  buf.append("] windowSize [");
  buf.append(getWindowSize());
  buf.append("] windowWaitTime [");
  buf.append(getWindowWaitTime());
  buf.append(" ms] responseTime [");
  buf.append(getResponseTime());
  buf.append(" ms] estProcessingTime [");
  buf.append(getEstimatedProcessingTime());
  buf.append(" ms] reqType [");
  buf.append(getRequest().getName());
  buf.append("] respType [");
  buf.append(getResponse().getName());
  buf.append("]");
  return buf.toString();
}

代码示例来源:origin: org.restcomm.smpp/ch-smpp

@Override
public String toString() {
  StringBuilder buf = new StringBuilder(100);
  buf.append("smpp_async_resp: seqNum [0x");
  buf.append(HexUtil.toHexString(this.future.getKey()));
  buf.append("] windowSize [");
  buf.append(getWindowSize());
  buf.append("] windowWaitTime [");
  buf.append(getWindowWaitTime());
  buf.append(" ms] responseTime [");
  buf.append(getResponseTime());
  buf.append(" ms] estProcessingTime [");
  buf.append(getEstimatedProcessingTime());
  buf.append(" ms] reqType [");
  buf.append(getRequest().getName());
  buf.append("] respType [");
  buf.append(getResponse().getName());
  buf.append("]");
  return buf.toString();
}

代码示例来源:origin: com.cloudhopper/ch-smpp

@Override
public String toString() {
  StringBuilder buf = new StringBuilder(100);
  buf.append("smpp_async_resp: seqNum [0x");
  buf.append(HexUtil.toHexString(this.future.getKey()));
  buf.append("] windowSize [");
  buf.append(getWindowSize());
  buf.append("] windowWaitTime [");
  buf.append(getWindowWaitTime());
  buf.append(" ms] responseTime [");
  buf.append(getResponseTime());
  buf.append(" ms] estProcessingTime [");
  buf.append(getEstimatedProcessingTime());
  buf.append(" ms] reqType [");
  buf.append(getRequest().getName());
  buf.append("] respType [");
  buf.append(getResponse().getName());
  buf.append("]");
  return buf.toString();
}

代码示例来源:origin: com.cloudhopper/ch-commons-util

this.futures.remove(future.getKey());

代码示例来源:origin: org.restcomm.smpp/ch-commons-util

this.futures.remove(future.getKey());

代码示例来源:origin: org.restcomm.smpp/ch-smpp

logger.debug("Caller waiting on request [{}], cancelling it with a channel closed exception", future.getKey());
try {
  future.fail(cause);

代码示例来源:origin: com.fizzed/ch-smpp

logger.debug("Caller waiting on request [{}], cancelling it with a channel closed exception", future.getKey());
try {
  future.fail(cause);

代码示例来源:origin: twitter-archive/cloudhopper-smpp

logger.debug("Caller waiting on request [{}], cancelling it with a channel closed exception", future.getKey());
try {
  future.fail(cause);

代码示例来源:origin: com.cloudhopper/ch-smpp

logger.debug("Caller waiting on request [{}], cancelling it with a channel closed exception", future.getKey());
try {
  future.fail(cause);

相关文章