Book Image

Getting Started with Hazelcast, Second Edition

By : Matthew Johns
Book Image

Getting Started with Hazelcast, Second Edition

By: Matthew Johns

Overview of this book

Table of Contents (19 chapters)
Getting Started with Hazelcast Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Cluster name


This sets the name and password used to form independent clusters, as shown in the following code:

<group>
 <name>dev</name>
 <password>dev-pass</password>
</group>

GroupConfig gc = config.getGroupConfig();
gc.setName("dev").setPassword("dev-pass");