@Override public int getGeneralQueueLength() { return delegate.getGeneralQueueLength(); }
@Override public int getGeneralQueueLength() { if (!isServerStarted() || this.server.getScheduler() == null) { return 0; } return server.getScheduler().getGeneralQueueLength(); }
SimpleServerRpcConnection register(SocketChannel channel) { SimpleServerRpcConnection connection = getConnection(channel, System.currentTimeMillis()); add(connection); if (LOG.isTraceEnabled()) { LOG.trace("Connection from " + connection + "; connections=" + size() + ", queued calls size (bytes)=" + callQueueSizeInBytes.sum() + ", general queued calls=" + scheduler.getGeneralQueueLength() + ", priority queued calls=" + scheduler.getPriorityQueueLength() + ", meta priority queued calls=" + scheduler.getMetaPriorityQueueLength()); } return connection; }
@Override public int getGeneralQueueLength() { // not the best way to calculate, but don't have a better way to hook // into metrics at the moment return this.delegate.getGeneralQueueLength() + this.indexCallExecutor.getQueueLength() + this.metadataCallExecutor.getQueueLength(); }
@Override public int getGeneralQueueLength() { return delegate.getGeneralQueueLength(); }
@Override public int getGeneralQueueLength() { // not the best way to calculate, but don't have a better way to hook // into metrics at the moment return this.delegate.getGeneralQueueLength() + this.indexCallExecutor.getQueueLength() + this.metadataCallExecutor.getQueueLength(); }
@Override public int getGeneralQueueLength() { // not the best way to calculate, but don't have a better way to hook // into metrics at the moment return this.delegate.getGeneralQueueLength() + this.indexCallExecutor.getQueueLength() + this.metadataCallExecutor.getQueueLength(); }
@Override public int getGeneralQueueLength() { if (!isServerStarted() || this.server.getScheduler() == null) { return 0; } return server.getScheduler().getGeneralQueueLength(); }