org.qi4j.entitystore.redis
Interface RedisEntityStoreConfiguration

All Superinterfaces:
Composite, ConfigurationComposite, EntityComposite, Identity

public interface RedisEntityStoreConfiguration
extends ConfigurationComposite

Configuration for RedisMapEntityStoreService.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity
Identity.IdentityMixin
 
Method Summary
 Property<java.lang.Integer> database()
          Redis database.
 Property<java.lang.String> host()
          Redis host.
 Property<java.lang.String> password()
          Redis password.
 Property<java.lang.Integer> port()
          Redis port.
 Property<java.lang.Integer> timeout()
          Connection timeout in milliseconds.
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 

Method Detail

host

@Optional
Property<java.lang.String> host()
Redis host. Defaulted to 127.0.0.1.


port

@Optional
Property<java.lang.Integer> port()
Redis port. Defaulted to 6379.


timeout

@Optional
Property<java.lang.Integer> timeout()
Connection timeout in milliseconds. Defaulted to 2000.


password

@Optional
Property<java.lang.String> password()
Redis password.


database

@Optional
Property<java.lang.Integer> database()
Redis database. Defaulted to 0.