/** * Decrement the number of CQs the client installed * */ public synchronized void decCqCount() { synchronized (this) { this._statistics.decCqCount(); } }
/** * Returns the current number of CQS the client installed. * * @return int the current count of CQs for this client */ public int getCqCount() { synchronized (this) { return this._statistics.getCqCount(); } }
/** * Increment the number of CQs the client installed * */ public void incCqCount() { synchronized (this) { this._statistics.incCqCount(); } }
break; getStatistics().setQueueSize(this._messageQueue.size()); if (isStopped()) { break; long start = getStatistics().startTime(); getStatistics().endMessage(start); if(isDispatched){ this._messageQueue.remove(); long start = getStatistics().startTime(); Iterator itr = list.iterator(); while (itr.hasNext()) { dispatchMessage((ClientMessage)itr.next()); getStatistics().endMessage(start);
message.addObjPart(Boolean.TRUE); message.addBytesPart(this.deltaBytes); proxy.getStatistics().incDeltaMessagesSent();
this._statistics.incMessagesReceived(); this._messageDispatcher.enqueueMessage(conflatable); } else { this._statistics.incMessagesFailedQueued(); if (logger.isDebugEnabled()) { logger.debug("Message is not added to the queue. Message dispatcher for proxy: {} doesn't exist.", this); this._statistics.incMessagesFailedQueued();
this._statistics.close();
this.notifyBySubscription = notifyBySubscription; StatisticsFactory factory = this._cache.getDistributedSystem(); this._statistics = new CacheClientProxyStats(factory, "id_"+this.proxyID.getDistributedMember().getId()+ "_at_"+ this._remoteHostAddress + ":" + this._socket.getPort());
this._statistics.incMessagesNotQueuedNotInterested(); if (logger.isTraceEnabled(LogMarker.BRIDGE_SERVER)) { logger.debug("{}: Not adding message to queue. It is not interested in this region and key: {}", clientMessage);
ccn.getClientProxy(servConn.getProxyID()).getStatistics().incDeltaFullMessagesSent(); if (logger.isDebugEnabled()) { logger.debug("{}: Wrote get event value response back to {} for ha container {}", servConn.getName(), servConn.getSocketString(), haContainer.getName());
this._statistics.incMessagesReceived();
break; getStatistics().setQueueSize(this._messageQueue.size()); if (isStopped()) { break; long start = getStatistics().startTime(); getStatistics().endMessage(start); if(isDispatched){ this._messageQueue.remove(); long start = getStatistics().startTime(); Iterator itr = list.iterator(); while (itr.hasNext()) { dispatchMessage((ClientMessage)itr.next()); getStatistics().endMessage(start);
message.addObjPart(Boolean.TRUE); message.addBytesPart(this.deltaBytes); proxy.getStatistics().incDeltaMessagesSent();
this._statistics.close(); // fix for bug 40105
this.notifyBySubscription = notifyBySubscription; StatisticsFactory factory = this._cache.getDistributedSystem(); this._statistics = new CacheClientProxyStats(factory, "id_"+this.proxyID.getDistributedMember().getId()+ "_at_"+ this._remoteHostAddress + ":" + this._socket.getPort());
this._statistics.incMessagesNotQueuedNotInterested(); if (BridgeServerImpl.VERBOSE || _logger.fineEnabled()) { _logger.info(LocalizedStrings.DEBUG, this
ccn.getClientProxy(servConn.getProxyID()).getStatistics().incDeltaFullMessagesSent(); if (logger.fineEnabled()) { logger.fine(servConn.getName()
/** * Returns true if the client has one CQ * * @return true if the client has one CQ */ public boolean hasOneCq() { synchronized (this) { return this._statistics.getCqCount() == 1; } }
message.addObjPart(Boolean.TRUE); message.addBytesPart(this.deltaBytes); proxy.getStatistics().incDeltaMessagesSent();
this._statistics.close();