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

Redis EntityStore

code

docs

tests

EntityStore service backed by a Redis database.

Table 60. Artifact

Group IDArtifact IDVersion

org.apache.polygene.extensions

org.apache.polygene.extension.entitystore-redis

3.0.0


Assembly

Assembly is done using the provided Assembler.

Traceback (most recent call last):
  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 100, in <module>
    for line in snippet(**configuration(indata)):
  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 51, in snippet
    sourceFile = open(PATH_PATTERN % locals())
IOError: [Errno 2] No such file or directory: 'extensions/entitystore-redis/src/test/java/org/apache/polygene/entitystore/redis/RedisMapEntityStoreTest.java'

Configuration

Here are the configuration properties for the Redis client:

public interface RedisEntityStoreConfiguration
{

    /**
     * Redis host.
     *
     * Defaulted to 127.0.0.1.
     */
    @Optional
    Property<String> host();

    /**
     * Redis port.
     *
     * Defaulted to 6379.
     */
    @Optional
    Property<Integer> port();

    /**
     * Connection timeout in milliseconds.
     *
     * Defaulted to 2000.
     */
    @Optional
    Property<Integer> timeout();

    /**
     * Redis password.
     */
    @Optional
    Property<String> password();

    /**
     * Redis database.
     *
     * Defaulted to 0.
     */
    @Optional
    Property<Integer> database();

}