Package jp.ameba.mongo.protocol

Examples of jp.ameba.mongo.protocol.OperationCode


      // ChannelFuture を取得し RequestFuture に設定
      ChannelFuture channelFuture = e.getFuture();
      future.setChannelFuture(channelFuture);
     
      // 送信リエクスト一覧に future を追加
      OperationCode opCode = request.getHeader().getOpCode();
      // safeモード、もしくは返信が見込める場合は、リクエストIDを設定
      if (opCode.hasReply() || getLastError != null) {
        if (getLastError == null) {
          requestMap.put(future.getRequetId(), request);
          request.setWaitingRequestId(request.getRequestId());
        } else {
          requestMap.put(getLastError.getRequestId(), request);
View Full Code Here

TOP

Related Classes of jp.ameba.mongo.protocol.OperationCode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.