Hi,
Can the same instance of PropertyCollector be shared across 2 threads if the properties to be read/collect don't overlap?
Running VCSA 5.5
First Thread:
- invokes WaitForUpdatesEx() on the PropertyCollector to monitor updates on EventHistoryCollector.latestPage, with filter defined based on event types
Second Thread:
- invokes RetrievePropertiesEx() on the same Property Collector to read certain attributes of VM objects, with filter defined based on VM properties
Concern:
- Would WaitForUpdatesEx() and RetrieveProperties() calling from different threads potentially mess up the run time state of the same Property Collector instance?
From vSphere docs, it seems separate instances of PropertyCollector are required if both threads are using WaitForUpdatesEx(); but I am not sure
whether the same restriction also applies for combination of WaitForUpdatesEx() and RetrieveProperties() with non-overlapping filters.
Thanks!