services.getStatistics().endMsgDeserialization(start);
long startSer = this.stats.startMsgDeserialization(); setResult((DistributionMessage)InternalDataSerializer.readDSFID(dis)); this.stats.endMsgDeserialization(startSer);
long startSer = this.stats.startMsgDeserialization(); setResult((DistributionMessage)InternalDataSerializer.readDSFID(dis)); this.stats.endMsgDeserialization(startSer);
/** * Block until you can read a message. Returns null if the message * was a message chunk. * @return the message, or null if we only received a chunk of the message * @throws ClassNotFoundException * @throws IOException * @throws InterruptedException */ public DistributionMessage readMessage(Header header) throws IOException, ClassNotFoundException, InterruptedException { ByteBuffer nioInputBuffer = readAtLeast(header.nioMessageLength); this.getStats().incMessagesBeingReceived(true, header.nioMessageLength); long startSer = this.getStats().startMsgDeserialization(); try { bbis.setBuffer(nioInputBuffer); DistributionMessage msg = null; ReplyProcessor21.initMessageRPId(); // add serialization stats msg = (DistributionMessage)InternalDataSerializer.readDSFID(bbis); return msg; } finally { this.getStats().endMsgDeserialization(startSer); this.getStats().decMessagesBeingReceived(header.nioMessageLength); } }
/** * Block until you can read a message. Returns null if the message * was a message chunk. * @return the message, or null if we only received a chunk of the message * @throws ClassNotFoundException * @throws IOException * @throws InterruptedException */ public DistributionMessage readMessage(Header header) throws IOException, ClassNotFoundException, InterruptedException { ByteBuffer nioInputBuffer = readAtLeast(header.nioMessageLength); this.getStats().incMessagesBeingReceived(true, header.nioMessageLength); long startSer = this.getStats().startMsgDeserialization(); try { bbis.setBuffer(nioInputBuffer); DistributionMessage msg = null; ReplyProcessor21.initMessageRPId(); // add serialization stats msg = (DistributionMessage)InternalDataSerializer.readDSFID(bbis); return msg; } finally { this.getStats().endMsgDeserialization(startSer); this.getStats().decMessagesBeingReceived(header.nioMessageLength); } }
this.owner.getConduit().stats.endMsgDeserialization(startSer); if (bbis.available() != 0) { logger.warn(LocalizedMessage.create(
this.owner.getConduit().stats.endMsgDeserialization(startSer); if (bbis.available() != 0) { logger.warning(
long startSer = this.owner.getConduit().stats.startMsgDeserialization(); msg = (DistributionMessage)InternalDataSerializer.readDSFID(dis); this.owner.getConduit().stats.endMsgDeserialization(startSer); if (dis.available() != 0) { logger.warn(LocalizedMessage.create(
stats.endMsgDeserialization(startSer);
long startSer = this.owner.getConduit().stats.startMsgDeserialization(); msg = (DistributionMessage)InternalDataSerializer.readDSFID(dis); this.owner.getConduit().stats.endMsgDeserialization(startSer); if (dis.available() != 0) { logger.warning(