Getatlas 4rsd821nwq
Help CenterData Structures & APIsUsing Hazelcast Lists, Sets, and Queues

Using Hazelcast Lists, Sets, and Queues

Last updated August 17, 2024

Beyond maps, Hazelcast provides a suite of powerful data structures that extend its capabilities for managing and processing data in a distributed environment. This guide explores the use of Hazelcast Lists, Sets, and Queues, enabling you to build more complex and efficient applications.

Hazelcast Data Structures

  • Hazelcast Lists: These offer a distributed and synchronized list similar to a standard list in programming languages, but with the added benefit of being accessible and updated by multiple nodes.
  • Hazelcast Sets: Hazelcast Sets provide a distributed implementation of sets, maintaining unique elements across multiple nodes. They are ideal for managing data where duplicates are not allowed.
  • Hazelcast Queues: Hazelcast Queues provide a distributed queue, enabling elements to be added and retrieved in a first-in, first-out (FIFO) manner, perfect for scenarios involving task processing or message passing.

Working with Hazelcast Data Structures

1. **Obtain Instance:** Just like with maps, obtain an instance of the desired structure through the Hazelcast client.

Was this article helpful?