Thanks Danushka. It seems that we can use
the java.lang.management.ThreadMXBean to get Thred information. However,
that API does not allow killing the Threads. Perhaps, the our programming
API should provide a method for tenant apps to get hold of a Thread, and
then we can control those threads. However, this will not work for all
cases. For example, if a tenant DS request is taking a long time to process,
we should have a way to kill it.

Azeez

On Tue, Mar 1, 2011 at 6:03 PM, Danushka Menikkumbura <[email protected]>wrote:

> I think we can do something based on JMX.
>>
>
> I guess so. Maybe you have seen this but I hope "Monitoring the JVM" in[1] 
> would be useful.
>
> BTW, this is something that RRD was looking for :-).
>
> [1] -
> http://www.ibm.com/developerworks/library/j-rtm1/index.html?ca=dgr-jw22javaruntime1&S_TACT=105AGX59&S_CMP=GR
>
> Thanks,
> Danushka
>



-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to