package saker.rmi.connection
public final class RMIStatistics
Holds RMI statistics collected during the lifetime of an RMI connection.
The class holds various statistics about the RMI method invocations that occurred during an RMI connection. The
collection of these statistics are disabled by default and can be turned on by using
RMIOptions.collectStatistics(
saker.rmi 0.8.2
public static final class | Encloses statistic information about an RMI method call. |
public void | dumpSummary( Dumps a summary of the statistics to the specified output stream. |
public void | dumpSummary( Dumps a summary of the statistics to the specified output stream. |
public void | dumpSummary( Dumps a summary of the statistics to the specified output stream. |
public void | dumpSummary( Dumps a summary of the statistics to the specified output. |
public Iterable< | Gets the collected method statistics. |
public Iterable< | Gets and clears the method statistics. |
Dumps a summary of the statistics to the specified output stream.
outThe output.
timeunitA TimeUnit that specifies the display metrics for the time values. May be
null
.NullPointerExceptionIf the argument is
null
.Dumps a summary of the statistics to the specified output stream.
outThe output.
timeunitA TimeUnit that specifies the display metrics for the time values. May be
null
.NullPointerExceptionIf the argument is
null
.Dumps a summary of the statistics to the specified output stream.
outThe output.
timeunitA TimeUnit that specifies the display metrics for the time values. May be
null
.NullPointerExceptionIf the argument is
null
.IOExceptionIn case of I/O error.
Dumps a summary of the statistics to the specified output.
outThe output.
timeunitA TimeUnit that specifies the display metrics for the time values. May be
null
.NullPointerExceptionIf the argument is
null
.Gets the collected method statistics.
A method statistics iterable.
Gets and clears the method statistics.
Calling this method will clear the method related statistics while return an Iterable that iterates over the recorded statistics.
A method statistics iterable.