Package org.red5.server.api.statistics
Interface ISharedObjectStatistics
- All Superinterfaces:
IStatisticsBase
- All Known Implementing Classes:
ClientSharedObject,SharedObject
Statistics informations about a shared object.
- Author:
- The Red5 Project, Joachim Bauch (jojo@struktur.de)
-
Method Summary
Modifier and TypeMethodDescriptionintReturn current number of subscribed listeners.intReturn maximum number of concurrent subscribed listenes.getName()Return the name of the shared object.intReturn number of attribute changes.intReturn number of attribute deletes.intReturn total number of subscribed listeners.intReturn number of times a message was sent.intReturn the version number of the shared object.booleanCheck if the shared object is persistent.Methods inherited from interface org.red5.server.api.statistics.IStatisticsBase
getCreationTime
-
Method Details
-
getName
String getName()Return the name of the shared object.- Returns:
- the name of the shared object
-
isPersistent
boolean isPersistent()Check if the shared object is persistent.- Returns:
True
if the shared object is persistent, otherwiseFalse
-
getVersion
int getVersion()Return the version number of the shared object.- Returns:
- the version
-
getTotalListeners
int getTotalListeners()Return total number of subscribed listeners.- Returns:
- number of listeners
-
getMaxListeners
int getMaxListeners()Return maximum number of concurrent subscribed listenes.- Returns:
- number of listeners
-
getActiveListeners
int getActiveListeners()Return current number of subscribed listeners.- Returns:
- number of listeners
-
getTotalChanges
int getTotalChanges()Return number of attribute changes.- Returns:
- number of changes
-
getTotalDeletes
int getTotalDeletes()Return number of attribute deletes.- Returns:
- number of deletes
-
getTotalSends
int getTotalSends()Return number of times a message was sent.- Returns:
- number of sends
-