/** * @return the average number of steps per second */ public double getAveragePerSecond() { double d = 1000; double averageTime = getAverageTime(); if (averageTime == 0) { return 0; } return d / averageTime; }
protected synchronized void appendFieldDescription(StringBuffer buffer) { buffer.append(" count: "); buffer.append(Long.toString(count)); buffer.append(" maxTime: "); buffer.append(Long.toString(maxTime)); buffer.append(" minTime: "); buffer.append(Long.toString(minTime)); buffer.append(" totalTime: "); buffer.append(Long.toString(totalTime)); buffer.append(" averageTime: "); buffer.append(Double.toString(getAverageTime())); buffer.append(" averageTimeExMinMax: "); buffer.append(Double.toString(getAverageTimeExcludingMinMax())); buffer.append(" averagePerSecond: "); buffer.append(Double.toString(getAveragePerSecond())); buffer.append(" averagePerSecondExMinMax: "); buffer.append(Double.toString(getAveragePerSecondExcludingMinMax())); super.appendFieldDescription(buffer); }
/** * @return the average time it takes to store a message on this destination (ms) */ public double getAverageEnqueueTime() { return destination.getDestinationStatistics().getProcessTime().getAverageTime(); }
/** * @return the average time(ms) messages are blocked waiting for dispatch (indication of slow consumption if greater than zero) */ public double getAverageBlockedTime() { return destination.getDestinationStatistics().getBlockedTime().getAverageTime(); }
@Override public double getAverageEnqueueTime() { return destination.getDestinationStatistics().getProcessTime().getAverageTime(); }
@Override public double getAverageBlockedTime() { return destination.getDestinationStatistics().getBlockedTime().getAverageTime(); }
statsMessage.setLong("memoryUsage", dest.getMemoryUsage().getUsage()); statsMessage.setLong("memoryLimit", dest.getMemoryUsage().getLimit()); statsMessage.setDouble("averageEnqueueTime", stats.getProcessTime().getAverageTime()); statsMessage.setDouble("maxEnqueueTime", stats.getProcessTime().getMaxTime()); statsMessage.setDouble("minEnqueueTime", stats.getProcessTime().getMinTime()); statsMessage.setLong("tempUsage", systemUsage.getTempUsage().getUsage()); statsMessage.setLong("tempLimit", systemUsage.getTempUsage().getLimit()); statsMessage.setDouble("averageEnqueueTime", stats.getProcessTime().getAverageTime()); statsMessage.setDouble("maxEnqueueTime", stats.getProcessTime().getMaxTime()); statsMessage.setDouble("minEnqueueTime", stats.getProcessTime().getMinTime());
/** * @return the average number of steps per second */ public double getAveragePerSecond() { double d = 1000; double averageTime = getAverageTime(); if (averageTime == 0) { return 0; } return d / averageTime; }
/** * @return the average number of steps per second */ public double getAveragePerSecond() { double d = 1000; double averageTime = getAverageTime(); if (averageTime == 0) { return 0; } return d / averageTime; }
/** * @return the average number of steps per second */ public double getAveragePerSecond() { double d = 1000; double averageTime = getAverageTime(); if (averageTime == 0) { return 0; } return d / averageTime; }
/** * @return the average number of steps per second */ public double getAveragePerSecond() { double d = 1000; double averageTime = getAverageTime(); if (averageTime == 0) { return 0; } return d / averageTime; }
/** * @return the average time it takes to store a message on this destination (ms) */ public double getAverageEnqueueTime() { return destination.getDestinationStatistics().getProcessTime().getAverageTime(); }
/** * @return the average time(ms) messages are blocked waiting for dispatch (indication of slow consumption if greater than zero) */ public double getAverageBlockedTime() { return destination.getDestinationStatistics().getBlockedTime().getAverageTime(); }
@Override public double getAverageBlockedTime() { return destination.getDestinationStatistics().getBlockedTime().getAverageTime(); }
/** * @return the average time(ms) messages are blocked waiting for dispatch (indication of slow consumption if greater than zero) */ public double getAverageBlockedTime() { return destination.getDestinationStatistics().getBlockedTime().getAverageTime(); }
/** * @return the average time it takes to store a message on this destination (ms) */ public double getAverageEnqueueTime() { return destination.getDestinationStatistics().getProcessTime().getAverageTime(); }
/** * @return the average time(ms) messages are blocked waiting for dispatch (indication of slow consumption if greater than zero) */ public double getAverageBlockedTime() { return destination.getDestinationStatistics().getBlockedTime().getAverageTime(); }
@Override public double getAverageBlockedTime() { return destination.getDestinationStatistics().getBlockedTime().getAverageTime(); }
/** * @return the average time it takes to store a message on this destination (ms) */ public double getAverageEnqueueTime() { return destination.getDestinationStatistics().getProcessTime().getAverageTime(); }
public double getAverageEnqueueTime() { return destination.getDestinationStatistics().getProcessTime().getAverageTime(); }