[vlma-devel] commit: Different threads for checking VLC state and updating RRD graphs. ( Adrien Grand )
git version control
git at videolan.org
Sat Aug 2 14:38:00 CEST 2008
vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sat Aug 2 14:36:12 2008 +0200| [4e3ff1d88aa971a26c2972c1283f5c81d3a37dfe] | committer: Adrien Grand
Different threads for checking VLC state and updating RRD graphs.
In order to check VLC state more often than RRD graphs are updated (every 5
minutes) ServerMonitor has been splitted into one monitor that checks VLC
state (time interval configurable, defaults to 30 seconds) and another thread
that updates RRD graphs.
> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=4e3ff1d88aa971a26c2972c1283f5c81d3a37dfe
---
.../java/org/videolan/vlma/VLMaServiceImpl.java | 14 +-
.../org/videolan/vlma/monitor/OrderMonitor.java | 131 ++++++++++---------
.../org/videolan/vlma/monitor/ServerMonitor.java | 32 +-----
.../videolan/vlma/monitor/ServerStateMonitor.java | 134 ++++++++++++++++++++
vlma-daemon/src/main/resources/config.properties | 2 +
vlma-daemon/src/main/resources/daemon.xml | 9 ++-
6 files changed, 220 insertions(+), 102 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlma.git/?a=commitdiff;h=4e3ff1d88aa971a26c2972c1283f5c81d3a37dfe
More information about the vlma-devel
mailing list