Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


20.1.34 ead_get_nodelist() (acquires information about the connection-target EADS servers)

Organization of this subsection

(1) Description

This function acquires information about the connection-target EADS servers maintained by the EADS client.

(2) Format

#include <eads.h>
ead_nodelist ead_get_nodelist
(
  const EAD_CACHE_MANAGER *cmp,               /* In */
  int                     *error_code         /* Out */
);

(3) Arguments

cmp

Specifies the handle (pointer) to the cache manager that is managing the cache.

Specify a handle obtained from ead_init_client() or ead_init_client_n().

error_code

Specifies the pointer from which to retrieve the error code.

For details about error codes, see 20.2 Error codes in the client library (C).

(4) Return value

This function returns information about the connection-target EADS servers (ead_nodelist structure) maintained by the EADS client.

For the format and details of the ead_nodelist structure, see 20.1.49 ead_nodelist structure (EADS server information).

If the function terminates abnormally, NULL is returned in the nodes member of the ead_nodelist structure.

(5) Notes