Retrieves cache group perfomance data of the monitored objects within a specified time range.
Collection<CacheGroupPerformanceVO> getCacheGroupPerformance(Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime) throws SUPAdminException;
If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.
MonitoredCluster mc = new MonitoredCluster(); MonitoredDomain md_def = new MonitoredDomain("default"); MonitoredDomain md_tst = new MonitoredDomain("test"); md_def.addMonitoredPackage(new MonitoredPackage("test_mbs:1.0")); md_def.addMonitoredPackage(new MonitoredPackage("test_mbs:2.0")); md_tst.addMonitoredPackage(new MonitoredPackage("test_mbs:3.0")); md_tst.addMonitoredPackage(new MonitoredPackage("test_mbs:4.0")); mc.addMonitoredDomain(md_def); mc.addMonitoredDomain(md_tst); Collection<MonitoredObject> mos = Arrays .asList(new MonitoredObject[] { mc }); for (CacheGroupPerformanceVO cpvo : supMonitor .getCacheGroupPerformance(mos, null, null)) { System.out.println(cpvo.getMaxCacheHits()); }