Modifier and Type | Method and Description |
---|---|
ReporterConfig |
addReporter(String name,
ReporterConfig.Type type)
Add a new Reporter to the statistics config.
|
ClientStatisticsConfig |
getClientStatistics()
Get client statistics configuration.
|
PublisherStatisticsConfig |
getPublisherStatistics()
Get Publisher statistics configuration.
|
ReporterConfig |
getReporter(String reporterName)
Get a specific Reporter config from the set of defined Reporters.
|
List<ReporterConfig> |
getReporters()
Return a list of all defined Reporters.
|
ServerStatisticsConfig |
getServerStatistics()
Get server statistics configuration.
|
TopicStatisticsConfig |
getTopicStatistics()
Get topic statistics configuration.
|
boolean |
isEnabled()
Is statistics gathering enabled?
|
void |
setEnabled(boolean enabled)
Set enabled.
|
boolean isEnabled()
By default this is false.
void setEnabled(boolean enabled)
This will also enable/disable subordinate statistics
enabled
- true to enable, false to disableClientStatisticsConfig getClientStatistics()
This configures statistics related to Client connections.
PublisherStatisticsConfig getPublisherStatistics()
This configures statistics related to Publishers.
ServerStatisticsConfig getServerStatistics()
This configures statistics related to the Diffusion server.
TopicStatisticsConfig getTopicStatistics()
This configures statistics related to Topics.
ReporterConfig addReporter(String name, ReporterConfig.Type type) throws ConfigException
Returns a ReporterConfig
object.
name
- the name of this Reporter - must be unique.type
- the type of Reporter to be used.ConfigException
- if unable to add reporterReporterConfig getReporter(String reporterName)
reporterName
- the name of the reporterList<ReporterConfig> getReporters()
Copyright © 2016 Push Technology Ltd. All Rights Reserved.