Click or drag to resize

HostWorkloads Property

Gets the DSE Workloads the host is running.

This is based on the "workload" or "workloads" columns in system.local and system.peers.

Workload labels may vary depending on the DSE version in use; e.g. DSE 5.1 may report two distinct workloads: Search and Analytics, while DSE 5.0 would report a single SearchAnalytics workload instead. The driver simply returns the workload labels as reported by DSE, without any form of pre-processing.

When the information is unavailable, this property returns an empty collection.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public IReadOnlyCollection<string> Workloads { get; }

Property Value

Type: IReadOnlyCollectionString
Remarks
Collection can be considered as immutable.
See Also