This interface describes a cluster and its properties. More...
Public Member Functions | |
virtual const IString * | get_multicast_address () const =0 |
Returns the multicast address reserved for the cluster. More... |
|
virtual Float64 | get_timeout () const =0 |
Returns the keep-alive timeout for the cluster. More... |
|
virtual const IMap * | get_properties () const =0 |
Returns the properties of the cluster. More... |
|
virtual Size | get_number_of_worker_nodes () const =0 |
Returns the number of worker nodes in the cluster. More... |
|
virtual const IWorker_node_descriptor * |
get_worker_node (Size index) const =0 |
Returns a descriptor for a worker node in the cluster. More... |
|
virtual Size | get_number_of_client_nodes () const =0 |
Returns the number of client nodes connected to the cluster. More... |
|
Additional Inherited Members | |
Public Types inherited from mi::base::Interface_declare< 0xf83a075b, 0xf3d1, 0x46a9, 0xb6, 0x75, 0x91, 0x10, 0x1c, 0xa3, 0x5a, 0x9f > | |
typedef Interface_declare< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, IInterface > |
Self |
Own type. More... |
|
typedef Uuid_t< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11 > |
IID |
Declares the interface ID (IID) of this interface. More... |
|
Static Public Member Functions inherited from mi::base::Interface_declare< 0xf83a075b, 0xf3d1, 0x46a9, 0xb6, 0x75, 0x91, 0x10, 0x1c, 0xa3, 0x5a, 0x9f > | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... |
|
This interface describes a cluster and its properties.
|
pure virtual |
Returns the multicast address reserved for the cluster.
This multicast address may be used for communication among the child processes running in that cluster. It may also be used by client nodes to communicate with these child processes.
|
pure virtual |
Returns the number of client nodes connected to the cluster.
|
pure virtual |
Returns the number of worker nodes in the cluster.
|
pure virtual |
Returns the properties of the cluster.
The type of the map is "Map<String>"
.
|
pure virtual |
Returns the keep-alive timeout for the cluster.
The keep-alive timeout specifies the amount of time (in seconds) the cluster will remain operational after the last client left the cluster.
|
pure virtual |
Returns a descriptor for a worker node in the cluster.
NULL
even if index
is smaller than the result of the last call to get_number_of_worker_nodes().index | The index of the worker node (from 0 to get_number_of_worker_nodes()-1). |
NULL
if index
is out of bounds.