Retrieves replication performance data for the specified domains and packages.
ReplicationPerformanceVO getReplicationPerformance(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 }); ReplicationPerformanceVO rpvo = supMonitor.getReplicationPerformance(mos, null, null); System.out.println(rpvo.getMaxSyncTime());