Skip to content

Latest commit

 

History

History
68 lines (55 loc) · 1.32 KB

File metadata and controls

68 lines (55 loc) · 1.32 KB

Cluster

Object represents cluster. Extends [class-datacollectiontarget].

Instance attributes

nodes: Array

Will return all nodes of class [class-node], that are under this cluster

zone ⇒ [class-zone]

Will return zone this cluster is under

zoneUIN: int

Will return zone UIN this cluster is under

Instance methods

add(object): void

Add node to cluster

Table 1. Parameters

object

[class-node]

Object to be added to cluster

getResourceOwner(name) ⇒ [class-node]

Get node which currently owns named resource.

Table 2. Parameters

name

String

Name of the resource.

Return

[class-node] object instance which currently owns resource of null if failed.

remove(object): void

Remove node from cluster

Table 3. Parameters

object

[class-node]

Object to be removed from cluster