Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1012 Bytes

cluster.adoc

File metadata and controls

51 lines (35 loc) · 1012 Bytes

Cluster

Object represent 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 ⇒ Integer

Will return zone UIN this cluster is under

Instance methods

getResourceOwner(name) ⇒ [class-node]

Get node which currently owns named resource.

Table 1. Parameters

name

String

Name of the resource.

Return

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

add(object) ⇒ void

Add node to cluster

Table 2. Parameters

object

[class-node]

Object to be added to cluster

remove(object) ⇒ void

Remove node from cluster

Table 3. Parameters

object

[class-node]

Object to be removed from cluster