Project Polygene has retired. For details please refer to its Attic page.
Hazelcast EntityStore
Zest™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

Hazelcast EntityStore

code

docs

tests

EntityStore service backed by the Hazelcast in-memory data grid.

Table 62. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-hazelcast

2.1


Assembly

Assembly is done using the provided Assembler:

public void assemble( ModuleAssembly module )
    throws AssemblyException
{
  [...snip...]

    new HazelcastEntityStoreAssembler().withConfig( configModule, Visibility.layer ).assemble( module );
}

Configuration

Here are the configuration properties for the Hazelcast EntityStore:

public interface HazelcastConfiguration
        extends ConfigurationComposite
{

    @UseDefaults
    Property<String> configXmlLocation();

    @UseDefaults
    Property<String> mapName();

}

configXmlLocation represent the location of the Hazelcast XML based configuration.

mapName is the name of the used Hazelcast Map