Package com.vmware.vim.binding.vim.PerformanceManager

Examples of com.vmware.vim.binding.vim.PerformanceManager.ProviderSummary


    */
   public Integer getRealtimeInterval(final String targetId) {
      return VcContext.inVcSessionDo(new VcSession<Integer>() {
         public Integer body() {
            ManagedObjectReference target = MoUtil.stringToMoref(targetId);
            ProviderSummary summary = getCachedPerfMgr().queryProviderSummary(target);
            Integer refresh = summary.getRefreshRate();
            if (summary.isCurrentSupported()) {
               return refresh;
            }

            return null;
         }
View Full Code Here

TOP

Related Classes of com.vmware.vim.binding.vim.PerformanceManager.ProviderSummary

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.