Forum Discussion
Dec 06, 2008
use LocalLB.PoolMember.get_statistics() for the given pool member and look through the returned statistics for the STATISTIC_SERVER_SIDE_CURRENT_CONNECTIONS statistic.
I wrote a tech tip on graceful server shutdowns that query the current connections for a specific pool member. It's written in PowerShell but you should be able to extract the logic for use in Java.
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=254
Click here
Look for the Disable-Member code snippet.
Hope this helps...
-Joe