Testing.print("Waited a total of " + sw.durations().statistics().getTotalAsString() + " for the replica to catch up to the master."); } catch (InterruptedException e) { Thread.interrupted();
Testing.print("Waited a total of " + sw.durations().statistics().getTotalAsString() + " for the replica to catch up to the master."); } catch (InterruptedException e) { Thread.interrupted();
/** * Returns a string representation of the minimum of all recorded durations. * * @return the string representation of the minimum duration; never null but possibly {@link Duration#ZERO}. */ default public String getMinimumAsString() { return asString(getMinimum()); }
/** * Returns a string representation of the total of all recorded durations. * * @return the string representation of the total duration; never null but possibly {@link Duration#ZERO}. */ default public String getTotalAsString() { return asString(getTotal()); }
/** * Returns a string representation of the arithmetic mean of all recorded durations. * * @return the string representation of the average duration; never null but possibly {@link Duration#ZERO}. */ default public String getAverageAsString() { return asString(getAverage()); } }
/** * Returns a string representation of the maximum of all recorded durations. * * @return the string representation of the maximum duration; never null but possibly {@link Duration#ZERO}. */ default public String getMaximumAsString() { return asString(getMaximum()); }
/** * Returns a string representation of the minimum of all recorded durations. * * @return the string representation of the minimum duration; never null but possibly {@link Duration#ZERO}. */ default public String getMinimumAsString() { return asString(getMinimum()); }
/** * Returns a string representation of the total of all recorded durations. * * @return the string representation of the total duration; never null but possibly {@link Duration#ZERO}. */ default public String getTotalAsString() { return asString(getTotal()); }
/** * Returns a string representation of the maximum of all recorded durations. * * @return the string representation of the maximum duration; never null but possibly {@link Duration#ZERO}. */ default public String getMaximumAsString() { return asString(getMaximum()); }
/** * Returns a string representation of the arithmetic mean of all recorded durations. * * @return the string representation of the average duration; never null but possibly {@link Duration#ZERO}. */ default public String getAverageAsString() { return asString(getAverage()); } }