Registers a distributed object listener to cluster.
distributed object listener function. This will be called with DistributedObjectEvent.
registration id of the listener.
Returns the CP subsystem that offers a set of in-memory linearizable data structures.
Returns the Cluster to which this client is connected.
Returns configuration that this instance started with. The returned object should not be modified.
Returns all DistributedObjects, that is all maps, queues, topics, locks etc.
The results are returned on a best-effort basis. The result might miss just-created objects and contain just-deleted objects. An existing object can also be missing from the list occasionally. One cluster member is queried to obtain the list.
the collection of all instances in the cluster
Returns the distributed Flake ID Generator instance with given name.
Returns the lifecycle service for this client.
Returns the distributed List instance with given name.
Gathers information of this local client.
Returns the distributed Map instance with given name.
Returns the distributed MultiMap instance with given name.
Returns the name of this Hazelcast instance.
Returns the distributed PN Counter instance with given name.
Returns the partition service of this client.
Returns the distributed Queue instance with given name.
Returns a distributed Reliable Topic instance with the given name.
Returns the distributed Replicated Map instance with given name.
Returns a distributed Ringbuffer instance with the given name.
Returns the distributed Set instance with given name.
Returns a service to execute distributed SQL queries.
SQL service
see SqlService
Removes a distributed object listener from the cluster.
id of the listener to be removed.
true
if registration was removed, false
otherwise.
Shuts down this client instance.
Shutdown promise. Multiple invocations will return the same promise.
Creates a new client object and automatically connects to cluster.
Client config. Default client config is used when this parameter is absent.
a new client instance
Creates a client with cluster switch capability. Client will try to connect to alternative clusters according to failover configuration when it disconnects from a cluster.
Configuration object describing the failover client configs and try count
a new client instance
Generated using TypeDoc
Hazelcast client instance. When you want to use Hazelcast's distributed data structures, you must first create a client instance. Multiple instances can be created on a single Node.js process.
Client instances should be shut down explicitly.