com.threerings.presents.server
Interface ReportManager.Reporter

All Known Implementing Classes:
ClientManager, PresentsConnectionManager
Enclosing class:
ReportManager

public static interface ReportManager.Reporter

Used to generate "state of the server" reports. See ReportManager.registerReporter(Reporter).


Method Summary
 void appendReport(StringBuilder buffer, long now, long sinceLast, boolean reset)
          Requests that this reporter append its report to the supplied string buffer.
 

Method Detail

appendReport

void appendReport(StringBuilder buffer,
                  long now,
                  long sinceLast,
                  boolean reset)
Requests that this reporter append its report to the supplied string buffer.

Parameters:
buffer - the string buffer to which the report text should be appended.
now - the time at which the report generation began, in epoch millis.
sinceLast - number of milliseconds since the last time we generated a report.
reset - if true, all accumulating stats should be reset, if false they should be allowed to continue to accumulate.