Package org.red5.server.api.statistics
Interface IStatisticsService
- All Known Implementing Classes:
StatisticsService
public interface IStatisticsService
Statistics methods for Red5. They can be used to poll for updates of given elements inside the server. Statistics data will be stored as properties of different shared objects.
Use
getScopeStatisticsSOand
getSharedObjectStatisticsSOto get these shared objects. The property names are
scopeNamefor scope attributes and
scopeName | sharedObjectNamefor shared object attributes. Each property holds a Map containing key/value mappings of the corresponding attributes. Sometime in the future, the updates on the shared objects will be done automatically so a client doesn't need to poll for them.
- Author:
- The Red5 Project, Joachim Bauch (jojo@struktur.de)
-
Method Summary
-
Method Details
-
getScopes
Return a list of all scopes that currently exist on the server.- Returns:
- list of scope names
-
getScopes
Return a list of all scopes that currently exist on the server below a current path.- Parameters:
path
- Path to start looking for scopes.- Returns:
- list of scope names
- Throws:
ScopeNotFoundException
- if the path on the server doesn't exist
-