f2fs_io_schedule_timeout(DEFAULT_IO_TIMEOUT); }while(ret&&--count); if(ret) { @@ -3106,7 +3104,7 @@ static unsigned int __issue_discard_cmd_range(struct f2fs_sb_info *sbi, blk_finish_plug(&plug); mutex_unlock(&dcc->cmd_lock); ...
protectedvoidscheduleTimeout(){EndPointendp=_connection.getEndPoint();if(_timeoutMs>0){if(endp.isBlocking()){synchronized(this){_expireAt=System.currentTimeMillis()+_timeoutMs;longwait=_timeoutMs;while(_expireAt>0&&wait>0&&_connection.getServer().isRunning()){try{this.wait(wait);}catch(Int...
包路径:io.netty.handler.timeout.WriteTimeoutHandler 类名称:WriteTimeoutHandler 方法名:scheduleTimeout WriteTimeoutHandler.scheduleTimeout介绍 暂无 代码示例 代码示例来源:origin: redisson/redisson @Override publicvoidwrite(ChannelHandlerContextctx,Objectmsg,ChannelPromisepromise)throwsException{ if(timeoutNanos...
readerIdleTimeNanos,TimeUnit.NANOSECONDS); } if(writerIdleTimeNanos>0){ writerIdleTimeout=schedule(ctx,newWriterIdleTimeoutTask(ctx), writerIdleTimeNanos,TimeUnit.NANOSECONDS); } if(allIdleTimeNanos>0){ allIdleTimeout=schedule(ctx,newAllIdleTimeoutTask(ctx), allIdleTimeNanos,TimeUnit.NANOSECONDS)...