When you develop a complex workflow, you can disable the automatic update of the list of inventory objects, to avoid performance issues.

The inventory is synchronized on each change in vCloud Director. When you develop complex workflows, the frequent update of elements might cause a huge number of inventory change notifications and performance issues. You can avoid performance issues by preventing redundant inventory updates.

To disable the inventory update, you must call the VclProfiler.enableInventoryNotifications(false) method. The VclProfiler.enableInventoryNotifications() method is reference counted. To allow multiple workflows to disable or enable inventory updates when needed, you should match each call to enableInventoryNotifications(false) with enableInventoryNotifications(true). By default, inventory updates are enabled. Disabling the inventory updates affects all users of the plug-in.