本文整理了Java中com.cloudhopper.commons.util.windowing.WindowFuture.isCallerWaiting()
方法的一些代码示例,展示了WindowFuture.isCallerWaiting()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WindowFuture.isCallerWaiting()
方法的具体详情如下:
包路径:com.cloudhopper.commons.util.windowing.WindowFuture
类名称:WindowFuture
方法名:isCallerWaiting
[英]Returns true if and only if the caller hinted at "WAITING" for completion. Returns false if the caller either did not hint at planning on "WAITING" or did wait but timed out and gave up. Please note that even if this returns true, it does not mean the caller is actively waiting since this merely represents a hint.
[中]当且仅当调用者暗示“正在等待”完成时,返回true。如果调用者没有暗示计划“等待”,或者确实等待但超时并放弃,则返回false。请注意,即使返回true,也不意味着呼叫者正在积极等待,因为这只是一个提示。
代码示例来源:origin: com.fizzed/ch-smpp
for (WindowFuture<Integer,PduRequest,PduResponse> future : requests.values()) {
if (future.isCallerWaiting()) {
logger.debug("Caller waiting on request [{}], cancelling it with a channel closed exception", future.getKey());
try {
代码示例来源:origin: twitter-archive/cloudhopper-smpp
for (WindowFuture<Integer,PduRequest,PduResponse> future : requests.values()) {
if (future.isCallerWaiting()) {
logger.debug("Caller waiting on request [{}], cancelling it with a channel closed exception", future.getKey());
try {
代码示例来源:origin: com.cloudhopper/ch-smpp
for (WindowFuture<Integer,PduRequest,PduResponse> future : requests.values()) {
if (future.isCallerWaiting()) {
logger.debug("Caller waiting on request [{}], cancelling it with a channel closed exception", future.getKey());
try {
代码示例来源:origin: org.restcomm.smpp/ch-smpp
for (WindowFuture<Integer,PduRequest,PduResponse> future : requests.values()) {
if (future.isCallerWaiting()) {
logger.debug("Caller waiting on request [{}], cancelling it with a channel closed exception", future.getKey());
try {
内容来源于网络,如有侵权,请联系作者删除!