Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

hazelcast

Provides cache solution and session storage via {{hazelcast}}.

exports

dependency

<dependency>
  <groupId>org.jooby</groupId>
  <artifactId>jooby-hazelcast</artifactId>
  <version>{{version}}</version>
</dependency>

usage

{
  use(new Hcast());

  get("/", req -> {
    HazelcastInstance hcast = require(HazelcastInstance.class);
    ...
  });
}

configuration

Any property under hazelcast.* will be automatically add it while bootstrapping a HazelcastInstance.

Configuration can be done programmatically via: doWith(Consumer)

{
  use(new Hcast()
   .doWith(config -> {
     config.setXxx
   })
  );
}

{{doc/hazelcast/hazelcast-session.md}}

Happy coding!!!

{{appendix}}