hazelcast-client

Hazelcast In-Memory DataGrid

License

License

Categories

Categories

CLI User Interface Hazelcast Application Layer Libs Distributed Applications
GroupId

GroupId

com.hazelcast
ArtifactId

ArtifactId

hazelcast-client
Last Version

Last Version

3.12.12
Release Date

Release Date

Type

Type

jar
Description

Description

hazelcast-client
Hazelcast In-Memory DataGrid
Project Organization

Project Organization

Hazelcast, Inc.

Download hazelcast-client

How to add to project

<!-- https://jarcasting.com/artifacts/com.hazelcast/hazelcast-client/ -->
<dependency>
    <groupId>com.hazelcast</groupId>
    <artifactId>hazelcast-client</artifactId>
    <version>3.12.12</version>
</dependency>
// https://jarcasting.com/artifacts/com.hazelcast/hazelcast-client/
implementation 'com.hazelcast:hazelcast-client:3.12.12'
// https://jarcasting.com/artifacts/com.hazelcast/hazelcast-client/
implementation ("com.hazelcast:hazelcast-client:3.12.12")
'com.hazelcast:hazelcast-client:jar:3.12.12'
<dependency org="com.hazelcast" name="hazelcast-client" rev="3.12.12">
  <artifact name="hazelcast-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.hazelcast', module='hazelcast-client', version='3.12.12')
)
libraryDependencies += "com.hazelcast" % "hazelcast-client" % "3.12.12"
[com.hazelcast/hazelcast-client "3.12.12"]

Dependencies

compile (1)

Group / Artifact Type Version
com.hazelcast : hazelcast jar 3.12.12

provided (8)

Group / Artifact Type Version
com.hazelcast : hazelcast-aws Optional jar 2.0.0
com.hazelcast : hazelcast-client-protocol jar 1.8.0
org.apache.logging.log4j : log4j-api Optional jar 2.3
org.apache.logging.log4j : log4j-core Optional jar 2.3
javax.cache : cache-api Optional jar 1.1.1
com.fasterxml.jackson.core : jackson-core Optional jar 2.11.2
org.snakeyaml : snakeyaml-engine Optional jar 2.1
com.google.code.findbugs : annotations Optional jar 3.0.0

test (20)

Group / Artifact Type Version
com.hazelcast : hazelcast jar 3.12.12
com.google.guava : guava jar 15.0
org.apache.httpcomponents : httpclient jar 4.3.1
com.atomikos : transactions-jdbc jar 3.9.3
org.apache.geronimo.specs : geronimo-jta_1.1_spec jar 1.1.1
org.hamcrest : hamcrest-library jar 1.3
javax.cache : cache-tests jar 1.1.1
javax.cache : cache-tests jar 1.1.1
org.apache.felix : org.apache.felix.utils jar 1.10.0
junit : junit Optional jar 4.12
org.mockito : mockito-core jar 2.19.0
org.powermock : powermock-api-mockito2 jar 2.0.0-beta.5
org.powermock : powermock-module-junit4 jar 2.0.0-beta.5
org.reflections : reflections jar 0.9.10
org.openjdk.jmh : jmh-core jar 1.16
org.openjdk.jmh : jmh-generator-annprocess jar 1.16
net.bytebuddy : byte-buddy jar 1.8.17
org.apache.commons : commons-lang3 jar 3.4
net.bytebuddy : byte-buddy-agent jar 1.8.17
nl.jqno.equalsverifier : equalsverifier jar 1.7.8

Project Modules

There are no modules declared in this project.

Hazelcast

Slack GitHub javadoc Docker pulls Total Alerts Code Quality: Java Quality Gate Status


Hazelcast is an open-source distributed in-memory data store and computation platform. It provides a wide variety of distributed data structures and concurrency primitives, including:

  • a distributed, partitioned and queryable in-memory key-value store implementation, called IMap
  • additional data structures and simple messaging constructs such as Set, MultiMap, Queue, Topic
  • cluster-wide unique ID generator, called FlakeIdGenerator
  • a distributed, CRDT based counter, called PNCounter
  • a cardinality estimator based on HyperLogLog.

Additionally, Hazelcast includes a production-ready Raft implementation which allows implementation of linearizable constructs such as:

  • a distributed and reentrant lock implementation, called FencedLock
  • primitives for distributed computing such as AtomicLong, AtomicReference and CountDownLatch.

Hazelcast data structures are in-memory, highly optimized and offer very low latencies. For a single get or put operation on an IMap, you can typically expect a round-trip-time of under 100 microseconds.

It's very simple to form a cluster with Hazelcast, you can easily do it on your computer by just starting several instances. The instances will discover each other and form a cluster. There aren't any dependencies on any external systems.

Hazelcast automatically replicates data across the cluster and you are able to seamlessly tolerate failures and add additional capacity to the cluster when needed.

Hazelcast comes with clients in the following programming languages:

Hazelcast also has first-class support for running on different cloud providers such as AWS, GCP and Azure as well as on Kubernetes.

Download

You can download Hazelcast from hazelcast.org. Once you have downloaded, you can start the Hazelcast instance using the script bin/start.sh.

Get Started

Hazelcast allows you to interact with a cluster using a simple API, for example you can use the Hazelcast Java Client to connect to a running cluster and perform operations on it:

HazelcastInstance hz = HazelcastClient.newHazelcastClient();
IMap<String, String> map = hz.getMap("my-distributed-map");
map.put("key", "value");
String current = map.get("key");
map.putIfAbsent("somekey", "somevalue");
map.replace("key", "value", "newvalue");

You only need to add a single JAR as a dependency:

<dependency>
    <groupId>com.hazelcast</groupId>
    <artifactId>hazelcast</artifactId>
    <version>${hazelcast.version}</version>
</dependency>

For more information, see the Getting Started Guide

Documentation

See the reference manual for in-depth documentation about Hazelcast features.

Code Samples

See Hazelcast Code Samples

Hazelcast Jet

Hazelcast Jet is a distributed batch and stream processing framework based on Hazelcast. It can be used to import/export data from/to Hazelcast using a very wide variety of data sources including Hadoop, S3, Apache Kafka, Elasticsearch, JDBC and JMS.

Get Help

You can use the following channels for getting help with Hazelcast:

Contributing

We encourage Pull Requests and process them promptly.

To contribute:

For an enhancement or larger feature, create a GitHub issue first to discuss.

Using Snapshot Releases

Maven snippet:

<repository>
    <id>sonatype-snapshots</id>
    <name>Sonatype Snapshot Repository</name>
    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    <releases>
        <enabled>false</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</repository>
<dependency>
    <groupId>com.hazelcast</groupId>
    <artifactId>hazelcast</artifactId>
    <version>${hazelcast.version}</version>
</dependency>

Building From Source

Pull latest from repo git pull origin master and use Maven install (or package) to build mvn clean install.

Testing

Hazelcast has 3 testing profiles:

  • Default: Type mvn test to run quick/integration tests (those can be run in parallel without using network).
  • Slow Tests: Type mvn test -P slow-test to run tests that are either slow or cannot be run in parallel.
  • All Tests: Type mvn test -P all-tests to run all tests serially using network.

Checkstyle and SpotBugs

Hazelcast uses static code analysis tools to check if a Pull Request is ready for merge. Run the following commands locally to check if your contribution is Checkstyle and SpotBugs compatible.

mvn clean validate -P checkstyle
mvn clean compile -P spotbugs

License

Hazelcast is available under the Apache 2 License. Please see the Licensing section for more information.

Acknowledgments

Thanks to YourKit for supporting open source software by providing us a free license for their Java profiler

Copyright

Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.

Visit www.hazelcast.com for more info.

com.hazelcast

hazelcast

Hazelcast, the leading in-memory computing platform

Versions

Version
3.12.12
3.12.11
3.12.10
3.12.9
3.12.8
3.12.7
3.12.6
3.12.5
3.12.4
3.12.3
3.12.2
3.12.1
3.12
3.12-BETA-2
3.12-BETA-1
3.11.7
3.11.6
3.11.5
3.11.4
3.11.3
3.11.2
3.11.1
3.11
3.11-BETA-1
3.10.7
3.10.6
3.10.5
3.10.4
3.10.3
3.10.2
3.10.1
3.10
3.10-BETA-2
3.10-BETA-1
3.9.4
3.9.3
3.9.2
3.9.1
3.9-EA
3.9
3.8.9
3.8.8
3.8.7
3.8.6
3.8.5
3.8.4
3.8.3
3.8.2
3.8.1
3.8-EA
3.8
3.8-RC1
3.7.8
3.7.7
3.7.6
3.7.5
3.7.4
3.7.3
3.7.2
3.7.1
3.7-EA
3.7
3.6.8
3.6.7
3.6.6
3.6.5
3.6.4
3.6.3
3.6.2
3.6.1
3.6-EA3
3.6-EA2
3.6-EA
3.6
3.6-RC1
3.5.5
3.5.4
3.5.3
3.5.2
3.5.1
3.5-EA
3.5
3.4.8
3.4.7
3.4.6
3.4.5
3.4.4
3.4.3
3.4.2
3.4.1
3.4-EA
3.4
3.3.5
3.3.4
3.3.3
3.3.2
3.3.1
3.3-EA2
3.3-EA
3.3
3.3-RC3
3.3-RC2
3.3-RC1
3.2.7
3.2.6
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.2
3.2-RC2
3.2-RC1
3.1.9
3.1.8
3.1.7
3.1.6
3.1.5
3.1.4
3.1.3
3.1.2
3.1.1
3.1
3.0.3
3.0.2
3.0.1
3.0
3.0-RC2
3.0-RC1
2.6.10
2.6.9
2.6.8
2.6.7
2.6.6
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.6
2.5.1
2.5
2.4.1
2.4
2.3.1
2.3
2.2
2.1.3
2.1.2
2.1.1
2.1
2.0.4
2.0.3
2.0.2
2.0.1
2.0
2.0-RC2
2.0-RC1
1.9.4.8
1.9.4.6
1.9.4.5
1.9.4.4
1.9.4.3
1.9.4.2
1.9.4.1
1.9.4
1.9.4-RC1
1.9.4-RC
1.9.3.4
1.9.3.3
1.9.3.2
1.9.3.1
1.9.3
1.9.3-RC
1.9.2.3
1.9.2.2
1.9.2.1
1.9.2
1.9.1
1.9.1-RC2
1.9
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8
1.7.1