code
docs
tests
EntityStore service backed by the Apache Geode data grid.
Table 53. Artifact
| Group ID | Artifact ID | Version |
|---|---|---|
org.apache.polygene.extensions | org.apache.polygene.extension.entitystore-geode | 0 |
Assembly is done using the provided Assembler:
public void assemble( ModuleAssembly module )
throws AssemblyException
{
[...snip...]
new GeodeEntityStoreAssembler().withConfig( config, Visibility.layer ).assemble( module );
}
Here are the configuration properties for the Geode EntityStore:
public interface GeodeConfiguration
extends ConfigurationComposite
{
/**
* Geode Topology.
* Defaults to {@literal EMBEDDED}, see {@link GeodeTopology}.
*
* @return Geode Topology
*/
@UseDefaults
Property<GeodeTopology> topology();
/**
* Geode Cache Name.
*
* @return Geode Cache Name
*/
@UseDefaults( "polygene:cache" )
Property<String> cacheName();
/**
* Cache properties path, loaded from the classpath.
*
* @return Cache properties path
*/
@Optional
Property<String> cachePropertiesPath();
/**
* Cache Region Shortcut.
*
* In {@literal EMBEDDED} {@link #topology()}, defaults to {@literal LOCAL},
* see {@link org.apache.geode.cache.RegionShortcut}.
*
* In {@literal CLIENT_SERVER} {@link #topology()}, defaults to {@literal PROXY},
* see {@link org.apache.geode.cache.client.ClientRegionShortcut}.
*
* @return Cache Region Shortcut
*/
@Optional
Property<String> regionShortcut();
/**
* Geode Region Name.
*
* Region names may only be alphanumeric and may contain hyphens or underscores.
*
* @return Geode Region Name
*/
@UseDefaults( "polygene-entitystore-region" )
Property<String> regionName();
}