Package com.sun.enterprise.ee.admin.lbadmin.monitor

Examples of com.sun.enterprise.ee.admin.lbadmin.monitor.LbMonitoringHelper


                    throw new Exception( _strMgr.getString("LbDoesNotExist", lbName));
                configName = lb.getLbConfigName();
            }else if(lbName == null){
               
            }
            LbMonitoringHelper lbMonitoringHelper = new LbMonitoringHelper(ctx, configName, lbName);
            String xml = lbMonitoringHelper.getMonitoringXml();
            LoadBalancerStatsInterface lbstats = LoadBalancerStats.readNoEntityResolver(new ByteArrayInputStream(xml.getBytes()));
            _logger.log(Level.INFO, _sMgr.getString(
                    "http_lb_admin.GetStats",  lbName));
            return lbstats;
        } catch (Exception e) {
View Full Code Here


                   lbs.getLoadBalancerByName(lbName);  
                if(lb == null)
                    throw new Exception( _strMgr.getString("LbDoesNotExist", lbName));
                configName = lb.getLbConfigName();
            }
            LbMonitoringHelper lbMonitoringHelper = new LbMonitoringHelper(ctx, configName, lbName);
            lbMonitoringHelper.reset();
            _logger.log(Level.INFO, _sMgr.getString(
                    "http_lb_admin.ResetStats", lbName));
        } catch (Exception e) {
            String msg = _strMgr.getString("LbResetStatsFailed",
                         lbName);
View Full Code Here

TOP

Related Classes of com.sun.enterprise.ee.admin.lbadmin.monitor.LbMonitoringHelper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.