This project has retired. For details please refer to its Attic page.
Hazelcast EntityStore
Qi4j
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 69. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-hazelcast

2.0


Assembly

Assembly is done using the provided Assembler:

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

    new HazelcastEntityStoreAssembler().withConfigIn( 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