public interface ClientStatisticsConfig extends Config
This specifies configuration relating to client session statistics.
If client session statistics are enabled, a summary of the session statistics
will regularly be written to the server log. These reports are published on a
schedule controlled by the setOutputFrequency(long)
and
setResetFrequency(long)
.
These properties may only be set before a Diffusion Server is started.
Modifier and Type | Method and Description |
---|---|
long |
getOutputFrequency()
Gets the output frequency for statistics reports to the log.
|
long |
getResetFrequency()
Gets the reset frequency.
|
void |
setOutputFrequency(long frequency)
Sets the output frequency for statistics reports to the log.
|
void |
setResetFrequency(long frequency)
Sets the reset frequency
|
long getOutputFrequency()
void setOutputFrequency(long frequency) throws ConfigException
If this is not explicitly specified, a log entry will be written every hour.
frequency
- the output frequency in milliseconds.ConfigException
- if unable to set frequency.long getResetFrequency()
void setResetFrequency(long frequency) throws ConfigException
Specifies when the counters are reset. Zero means that the counters are never reset.
If this is not explicitly set, the counters are reset every hour.
frequency
- the frequency in millisecondsConfigException
- if unable to set frequencyCopyright © 2022 Push Technology Ltd. All Rights Reserved.