@Metric("Length of the call queue") public int callQueueLength() { return server.getCallQueueLen(); }
/** * @inheritDoc */ public int getCallQueueLen() { return myServer.getCallQueueLen(); }
/** * @inheritDoc */ public int getCallQueueLen() { return myServer.getCallQueueLen(); }
@Metric("Length of the call queue") public int callQueueLength() { return server.getCallQueueLen(); }
@Metric("Length of the call queue") public int callQueueLength() { return server.getCallQueueLen(); }
@Metric("Length of the call queue") public int callQueueLength() { return server.getCallQueueLen(); }
@Metric("Length of the call queue") public int callQueueLength() { return server.getCallQueueLen(); }
/** * Push the metrics to the monitoring subsystem on doUpdate() call. */ public void doUpdates(MetricsContext context) { synchronized (this) { // ToFix - fix server to use the following two metrics directly so // the metrics do not have be copied here. numOpenConnections.set(myServer.getNumOpenConnections()); callQueueLen.set(myServer.getCallQueueLen()); for (MetricsBase m : registry.getMetricsList()) { m.pushMetric(metricsRecord); } } metricsRecord.update(); }
while (server.getCallQueueLen() != 1 && countThreads(CallQueueManager.class.getName()) != 1 && countThreads(TestProtocol.class.getName()) != 1) {
while (server.getCallQueueLen() != 1 && countThreads(CallQueueManager.class.getName()) != 1 && countThreads(TestProtocol.class.getName()) != 1) {
while (server.getCallQueueLen() != 1 && countThreads(CallQueueManager.class.getName()) != 1) { Thread.sleep(100);