DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Working With Spring Boot and Hazelcast (Distributed Cache)
  • Prompt Caching for LLMs, Part 3: Model-Side Caching and Production Rollout
  • Prompt Caching for LLMs, Part 2: Semantic Caching in Production
  • Prompt Caching for LLMs, Part 1: Exact-Match Caching in Production

Trending

  • Designing for Hot Keys: When Distributed Systems Stop Distributing
  • Controller and Data Access: Understanding Two-Layer Architecture Through Abstraction and Encapsulation
  • A Walk-Through of the DZone Article Editor
  • Avoiding AI Debt as a Team

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Data Engineering
  3. Data
  4. Hazelcast Mancenter: Manage Your Cache

Hazelcast Mancenter: Manage Your Cache

By 
Dheeraj Gupta
·
Jun. 16, 20 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
15.0K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

In my last article,  Hazelcast Setup using Java, we learned about how to set up the Hazelcast cluster and client using Spring Boot (Java). Continuing from there today, we will learn about the Hazelcast Management Center. This tool helps us:

  • To monitor caches.
  • To take thread dumps.
  • To update maps.
  • To check maps structure.
  • To update maps configurations.

Manage users

Hazelcast Management Center Setup

To set up the Hazelcast Management center download the Hazelcast WAR file from https://hazelcast.org/imdg/download/ or for versions lower than 3.8, it is usually packaged with the Hazelcast IMDG. To start with the management center:

  • Extract the downloaded file.
  • Open a terminal and move to the path till the start script file in man center
    cd ~/<path where mancenter file is extracted>/hazelcast-management-center-
    3.11
  • Run the start script by ./start.sh command
  • Your management center will start running by default on port 8080/mancenter.
    you can change the port at the start.sh file.

 



0
 Advanced issue found
▲

 

localhost:8080/hazelcast-mancenter

Configuration in the Application

In the configuration file, add these two lines to enable the management center and describe the port

Java
xxxxxxxxxx
1
13
 
1
Config config = new XmlConfigBuilder().build();
2
3
config.getGroupConfig().setName(username);
4
5
config.getGroupConfig().setPassword(password);
6
7
//Enabling the mancenter
8
config.getManagementCenterConfig().setEnabled(true); 
9
10
//defining port on which mancenter has been started
11
config.getManagementCenterConfig().setUrl("http://localhost:8080/mancenter");
12
13
Hazelcast.newHazelcastInstance(config);


Woosh! the Hazelcast management center setup has been done. We can now check our maps online at the localhost:8080/mancenter. Do try this if you have already configured your Hazelcast server to view your data in the cache.

Hazelcast Cache (computing)

Opinions expressed by DZone contributors are their own.

Related

  • Working With Spring Boot and Hazelcast (Distributed Cache)
  • Prompt Caching for LLMs, Part 3: Model-Side Caching and Production Rollout
  • Prompt Caching for LLMs, Part 2: Semantic Caching in Production
  • Prompt Caching for LLMs, Part 1: Exact-Match Caching in Production

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook