Re: [Asterisk-java-users] How to get the number of active calls?
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2008-02-18 04:02:36
|
Noel R. Morais wrote: > On Feb 15, 2008 2:45 PM, Stefan Reuter <ste...@re...> wrote: >> For AGI or the Manager API? > Acctualy I need to know the number of active threads in the thread > pool of asterisk-java. Sorry, this is not enough information. There is no "the threadpool" of Asterisk-Java. Asterisk-Java uses threads and threadpools in different ways in different places. There is no way to ask Asterisk-Java "how many threads do you use?" Of course you can get the list of active Threads from the JVM with something like http://www.exampledepot.com/egs/java.lang/ListThreads.html =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |