/** * Returns (possibly stale) map of queue sizes for all clients notified by this server. * * @return map with CacheClientProxy as key, and Integer as a value */ public Map getClientQueueSizes() { Map/* <ClientProxyMembershipID,Integer> */ queueSizes = new HashMap(); for (Iterator iter = this._clientProxies.values().iterator(); iter.hasNext();) { CacheClientProxy proxy = (CacheClientProxy) iter.next(); queueSizes.put(proxy.getProxyID(), Integer.valueOf(proxy.getQueueSize())); } return queueSizes; }
endpointType = (byte) 1; queueSize = proxy.getQueueSize();
queueSize = proxy.getQueueSize(); } else { endpointType = (byte) 1; queueSize = proxy.getQueueSize();